<br>James, Would this get you the loggers?<br><br>LoggerContext lc = (LoggerContext)LoggerFactory.getILoggerFactory();<br><br>lc.getLoggerList();<br><br><br><span style="font-family:Prelude, Verdana, san-serif;"><br><br></span><span id="signature"><div style="font-family: arial, sans-serif; font-size: 12px;color: #999999;">--</div><br></span><span style="color:navy; font-family:Prelude, Verdana, san-serif; "><hr align="left" style="width:75%">On Mar 22, 2011 12:33 PM, James Morgan <james.morgan.e@gmail.com> wrote: <br><br><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Hi, I've recently started using LogBack with SLF4j instead of Log4J and have run into a problem. <div>
<br></div><div>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 runtime. </div><div><br></div><div>Im currently trying to convert the current implementation to support LogBack with SLF4j and have run into problems. </div>
<div><br></div><div>One of the core parts of the servlet gets all loggers in order to create a GUI where things can be controlled from. </div><div><br></div><div>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.</div>
<div><br></div><div>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?</div>
<div><br></div><div>Thanks for any help you can provide.</div><div><br></div><div>Cheers James</div></span>
</span>