Closed AdriaanBoshoff closed 2 years ago
Please, provide an absolute path for log file and try again.
Unfortunately this did not change anything. I still get header output only. I'll make a test service for you when I have some spare time. Just to add each thread is running a telnet client with threaded events = true otherwise the OnDataAvailable event doesnt get fired in the telnet client.
Seems to be a issue with using the GlobalLogFileProvider.
I'm running a windows service with dynamically created custom thread objects. When in the debug build the logging works as expected by outputting to the a debug console however when the service is running as normal however only the header seems to get added to the log file and nothing else. The header essentially is the only thing that gets added into the same log file over and over.
Is there a way I should be running the logger in the a multi threaded windows service?
Logger settings in the dpr: