You are not logged in.
Pages: 1
Hi,
Is it possible to log every connection (urls) made to server to support developer team in problems.
I have rest server running. url:port/api and if I try for example wget url:port/ap/something i only see that connection is tried but not what url it was.
Thanks
mika
Last edited by MikaK (2019-11-12 07:11:23)
Offline
Intresting,
I have enabled logging
with TSQLLog.Family do
Level := LOG_VERBOSE;
And my public server is created (also interface based server in same app)
lPubserver := TPublicServer.CreateWithOwnModel( [ ], false, 'api' );
HTTPServer := TSQLHttpServer.Create( PORT_NAME, [ lInterfacebasedServer, lPubserver], '+', useBidirSocket );
HTTPServer.WebSocketsEnable( Server, Taustapalvelukey ).Settings.SetFullLog;
I make a call wget http://127.0.0.1:5854/foo and in log I have
20191112 16235513 info SetThreadName 20a4=TSQLHttpServer 5854/root api TWebSocketServerRest
20191112 16235513 trace mORMot.TSQLRestServerFullMemory(09acdb70) BeginCurrentThread(TWebSocketServerRest) root=root ThreadID=20a4 ThreadCount=1
20191112 16235513 trace taustapalveluInit.TPublicServer(09acdf90) BeginCurrentThread(TWebSocketServerRest) root=api ThreadID=20a4 ThreadCount=1
20191112 16235513 - 00.004.601
Offline
Pages: 1