[logback-user] how to get all configured appenders over api
ralph
ralph.mayr at gmx.de
Tue Jun 19 16:27:45 CEST 2012
hello
I need for a dynamic configuration of a logger, the list of all
configured appenders (e.g all FileAppender)
even if some appenders are initially not attached to any loggers
ch.qos.logback.classic.Logger log = (ch.qos.logback.classic.Logger)
LoggerFactory.getLogger("de.foo" );
log.setLevel( Level.DEBUG );
log.setAdditive( false );
log.addAppender( ????? )
how can I get this list of appenders over the logback api?
Regards
Ralph
More information about the Logback-user
mailing list