When I closed the Main application form to exit the program, the application process was still running.
My app did not terminated properly because there are still Foreground thread running.
I think that the foreground thread was created by Log4Net.Async, and it did not stop properly after disposing the appender..
I use the Log4Net.Async in a WinForm application.
When I closed the Main application form to exit the program, the application process was still running.
My app did not terminated properly because there are still Foreground thread running. I think that the foreground thread was created by Log4Net.Async, and it did not stop properly after disposing the appender..
Here is my actual configuration log4net
if I didn't use the AsyncRollingFileAppender, the application process will gracefully stop