log4cxx::AsyncAppender, All logs are not logged before exiting

71 Views Asked by At

I am using default AsyncAppender and ODBCAppender class as a reference to AsyncAppender.

properly specified the configurations and blocking option as false. All logs dont get logged. for log count greater than (size of AsyncAppenderBuffer plus size of DBAppender) only log count equal to the sum of these sizes gets logged.

1

There are 1 best solutions below

0
On

Appenders are flushed by a call to log4cxx::LogManager::shutdown().