[logback-user] How to get list of configured loggers
Govardhana
jgovardhana at gmail.com
Tue Jun 4 09:06:19 CEST 2013
Hello,
I am new to logback. I am migrating my project from log4j to logback. My
question is
How to get list of configured loggers into one object?
Current code using log4j:
Logger rootLogger =Logger.getRootLogger();
LoggerRepository currentRepository =
rootLogger.getLoggerRepository();
currentRepository.resetConfiguration();
How i can use the same in logback?
Thanks in Advance.
Regards,
Reddy
--
View this message in context: http://logback.10977.n7.nabble.com/How-to-get-list-of-configured-loggers-tp12419.html
Sent from the Users mailing list archive at Nabble.com.
More information about the Logback-user
mailing list