You are not logged in.
Pages: 1
Hi AB - (Using the latest Version 1072)
LogView and service compiled with 1072
atm I'm in need to use Remote Logging of one of my services.
The Output is not colored and the Lines are not correct shown.
11:24:50 Info Remote Logging Server started on port 8091 with root name "LogService"
11:25:26 Client Remote Client TSQLHttpClientWinHTTP Connected
11:25:26 ace Echoing to remote server http://localhost/LogService/RemoteLog:8091
11:25:26 TTASYSService(013F0620).00A09131
11:25:26 TTASYSService(013F0620).00A09575
11:25:26 s Log: Hauptdienst: Der Dienst wurde erstellt
11:25:26 00.000.483
11:25:26 00.000.489
The first and second line is correct.
All other contain false fragments of text
20150312 11252654 ! trace Echoing to remote server http://localhost/LogService/RemoteLog:8091
20150312 11252654 ! + TTASYSService(013F0620).00A09131
20150312 11252654 ! + TTASYSService(013F0620).00A09575
20150312 11252654 ! res Log: Hauptdienst: Der Dienst wurde erstellt
20150312 11252654 ! - 00.000.483
20150312 11252654 ! - 00.000.489
Last edited by itSDS (2015-03-12 10:31:51)
Rad Studio 12.1 Santorini
Offline
Just another thing with remote logging.
I have to start logview (Remote Server) prior to starting my service, so that the service can find the logview.
In Reality the service is started before the logview cause it is a service startet at boot.
How can i connect the logger of the service to the logview in this case ?
Rad Studio 12.1 Santorini
Offline
Hi AB,
I use Remote Logging to debug my service with TSQLLog.Family.Level := LOG_VERBOSE;
Same here, the output in the Logviewer is not colored and the lines are not correct shown.
After some debugging I regognized in SynLog.pas, that the function GetLogLevelFromText give false results, mostly sllNone.
But only in a remote session! The function GetLogLevelFromText looks tricky and I don't know, how to fix it.
If I load the same Log as a file, the Logviewer works fine.
Any idea?
Regards
Martin
Offline
Pages: 1