<div>Oh, right, that's an important consideration...thanks for catching that!</div>
<div> </div>
<div>I have the two-step configuration working (thanks for the good example) but what's the best way to mirror the application's Spring logging setting? Is there a way to capture what the application settings are for Spring?</div>
<div> </div>
<div>The way I understand how the two-step configuration works is:</div>
<div> </div>
<div>1. Application starts, some logging configured</div>
<div>2. Logging configured for classes that depend on loggers created in step 1.</div>
<div> </div>
<div>Does step 2 depend on the user of the library (i.e. other developers) creating a 2nd Logback configuration file or is it possible to either ship an appropriate configuration file or to configure logging for the classes in step 2 dynamically?</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Paul</div>
<div><br> </div>
<div class="gmail_quote">On Mon, Oct 24, 2011 at 4:21 PM, ceki <span dir="ltr"><<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>You also mentioned that in addition to the logger named after the<br>class of you custom appender, loggers for the Spring JDBC classes your<br>
appender depended on also were initialized with NOPLoggers. If you are<br>interested in the logs from Spring JDBC classes, then your best bet is<br>a two step configuration.<br><font color="#888888">--<br>Ceki</font>
<div class="im"><br><br>On 24/10/2011 10:17 PM, Paul Gifford wrote:<br></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Thanks Ceki,<br> I'll update my code to use the status manager.<br>Regards,<br>Paul<br></div>
<div class="im">On Mon, Oct 24, 2011 at 3:05 PM, ceki <<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a> <mailto:<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>>><br>wrote:<br><br></div>
</blockquote>
<div>
<div></div>
<div class="h5">______________________________<u></u>_________________<br>Logback-user mailing list<br><a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br><a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/<u></u>listinfo/logback-user</a><br>
</div></div></blockquote></div><br>