I am using a RollingFileAppender with "immediateFlush" disabled in order to optimize speed. Before exiting the application however I would like to flush the appender. How can I do this in log4j 2? Prior to this version there was the setImmediateFlush method, but now the setting, as far as I managed to find out, pertains to a "manager" member which cannot be accessed. The RollingFileAppender is also final an cannot be extended. Thanks! Adrian
-- View this message in context: http://apache-logging.6191.n7.nabble.com/Flushing-FileAppender-explicitly-tp36205.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
