http://bugzilla.slf4j.org/show_bug.cgi?id=211
Summary: RFE: Flush the appenders. Product: SLF4J Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: blocker Priority: P1 Component: Core API AssignedTo: slf4j-dev@qos.ch ReportedBy: zi...@seznam.cz Would be nice to have a way to flush async appenders, to prevent reference the logging backends explicitly. A use case: Running a server in a shell in background, like, $ startMyServer.sh & It's ok when the server mixes it's output with the other processes in foreground, but after server is started, with flush(), one could sync the log at a single point. For log4j it would call - logger.getAllAppenders() while( allAppenders.hasMoreElements() ){ fileAppender.setImmediateFlush(true); logger.info("Flush"); fileAppender.setImmediateFlush(false); } Other back ends - ??? -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ slf4j-dev mailing list slf4j-dev@qos.ch http://qos.ch/mailman/listinfo/slf4j-dev