This project is read-only.
1
Vote

The last log lines are never written

description

I have a console app using S3Appender. It writes a few lines, then sleeps for some time, then writes another line and exits.
The last line is never written to S3, and the app hangs.
By digging in the log4net classes, I found that I better call LogManager. Shutdown().
Now the program does not hang, but the last line is still not written.
It looks that there is no Flush() that will force an output even if the size/time limits where not met.

comments

smitchell360 wrote Feb 19, 2012 at 5:27 PM

Please submit patch or suggested fix.

wrote Feb 13, 2013 at 8:59 PM