
12 Jun
2010
12 Jun
'10
8:51 a.m.
On 06/12/2010 07:32 AM, Michael Caisse wrote:
What happens is that the log file shows up after the program exits. Since I was hoping to tail the file for some debug ... that isn't very convenient.
Ideas of what I have done wrong?
The file is only created when the first log record is written to it. Could it be the case that you don't log until the end of the application run time or filters reject records? Also, is it possible that the execution time is very short to tell for sure when the record is written to the file? The auto-flush feature is quite straightforward, I can't see from the code how it could do wrong.