[logback-user] Equivalent of LogManager.getCurrentLoggers() ?
james.morgan.e at gmail.com
Tue Mar 22 17:27:41 CET 2011
Hi, I've recently started using LogBack with SLF4j instead of Log4J and have
run into a problem.
We currently have a simple servlet that gets deployed with all our running
apps which allows us to change the Logging level and add loggers at
Im currently trying to convert the current implementation to support LogBack
with SLF4j and have run into problems.
One of the core parts of the servlet gets all loggers in order to create a
GUI where things can be controlled from.
It uses this factory class to get all
loggers, org.apache.log4j.LogManager.getCurrentLoggers(). I've looked
through the code and online but have yet to find an alternative solution.
Do you know if there is away to get all loggers simplar to the given factory
methods? Or am i heading in the wrong directiopn with this, is there
alternatives to find this informaiton out about current loggers?
Thanks for any help you can provide.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Logback-user