<div>Wow...that was easy...thanks!</div>
<div> </div>
<div>Paul<br><br></div>
<div class="gmail_quote">On Mon, Oct 24, 2011 at 4:50 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">Simply move the configuration of your custom appender to another<br>secondary configuration file. Load this file in a second configuration<br>
step. That's it. You don't have to worry about loggers references by<br>Spring classes.<br><font color="#888888">--<br>Ceki<br><a href="http://twitter.com/#!/ceki" target="_blank">http://twitter.com/#!/ceki</a></font>
<div class="im"><br><br>On 24/10/2011 10:45 PM, Paul Gifford wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Oh, right, that's an important consideration...thanks for catching that!<br></blockquote><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I have the two-step configuration working (thanks for the good example)<br>but what's the best way to mirror the application's Spring logging<br>
setting? Is there a way to capture what the application settings are<br>for Spring?<br>The way I understand how the two-step configuration works is:<br>1. Application starts, some logging configured<br>2. Logging configured for classes that depend on loggers created in step 1.<br>
Does step 2 depend on the user of the library (i.e. other developers)<br>creating a 2nd Logback configuration file or is it possible to either<br>ship an appropriate configuration file or to configure logging for the<br>classes in step 2 dynamically?<br>
Thanks,<br>Paul<br><br></blockquote><br><br></div>
<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>