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.
Appenders are flushed by a call to
log4cxx::LogManager::shutdown()
.