<div dir="ltr">hi govardhana ,<div>{code}<br><div style><span style="font-family:arial,sans-serif;font-size:13px">DOMConfigurator config = new DOMConfigurator();</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px"> config.doConfigure(LogUtil.</span><span style="font-family:arial,sans-serif;font-size:13px">class.getResourceAsStream( //log4j.xml ),</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">//org.apache.log4j.Hierarchy );</span><br></div><div style>{code}</div><div style>this code is used to initialize log4j.xml, to initilize logback.xml </div><div style>
just put your logback.xml on claspath , it will be aoutomatically configured.</div><div style><br></div><div style><br></div><div style>Cheers </div><div style>praveen</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jun 4, 2013 at 1:03 PM, Govardhana <span dir="ltr"><<a href="mailto:jgovardhana@gmail.com" target="_blank">jgovardhana@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Ceki,<br>
<br>
Thanks for quick response!<br>
<br>
whether we will get the loggers info of provided logger (logback.xml) or<br>
some other also ?<br>
<br>
Another question:<br>
below snippet by using Log4j:<br>
DOMConfigurator config = new DOMConfigurator();<br>
config.doConfigure(LogUtil.class.getResourceAsStream( //log4j.xml ),<br>
//org.apache.log4j.Hierarchy );<br>
<br>
By using logback , i can use "JoranConfigurator" or any other..please<br>
suggest.<br>
<br>
Regards,<br>
Govardhana<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://logback.10977.n7.nabble.com/How-to-get-list-of-configured-loggers-tp12419p12421.html" target="_blank">http://logback.10977.n7.nabble.com/How-to-get-list-of-configured-loggers-tp12419p12421.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
</div></div></blockquote></div><br></div>