Cheers for the help, both solutions suggested seem viable and I'm sure I can now get it done. <div><br></div><div>Ill be in touch if I run in to any further problems. </div><div><br></div><div>Cheers James<br><br><div class="gmail_quote">
On 22 March 2011 21:31, Roy Cronise <span dir="ltr"><<a href="mailto:sweep@ccyor.com">sweep@ccyor.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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><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%"><div><div></div><div class="h5">On Mar 22, 2011 12:33 PM, James Morgan <<a href="mailto:james.morgan.e@gmail.com" target="_blank">james.morgan.e@gmail.com</a>> wrote: <br>
<br><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>
</div></div></span>
<br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
<br></blockquote></div><br></div>