sxuthpaw / logkext

Automatically exported from code.google.com/p/logkext
0 stars 0 forks source link

option to flush log immediately? #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a script that automatically rolls over the log files generated by
logKext, but sometimes the last few characters are missing.

Is it possible to add a command to flush the log and close the file? That
would be very helpful. I tried to edit logKextDaemon.cpp, but I couldn't
get it to work.

Original issue reported on code.google.com by spicyjal...@gmail.com on 3 Jul 2008 at 5:45

GoogleCodeExporter commented 8 years ago
In logKextDaemon.cpp you want to comment out.

    if (buffsize < MAX_BUFF_SIZE/10)
        return;

I don't think I want to make this enhancement.  However, I did file an 
enhancement to support logfile roll over.  
That's issue 17: http://code.google.com/p/logkext/issues/detail?id=17

Original comment by drspring...@gmail.com on 26 Aug 2008 at 1:22