<div dir="ltr">Done.  Thank you.<div><br></div><div><a href="http://bugzilla.slf4j.org/show_bug.cgi?id=289">http://bugzilla.slf4j.org/show_bug.cgi?id=289</a><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jan 7, 2013 at 10:24 AM, ceki <span dir="ltr"><<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Mark,<br>
<br>
Assuming the Logger class you are referring is in package<br>
org.apache.log4j and by "bridging log4j-over-slf4j" you are referring<br>
to the log4j-over-slf4j module shipping with slf4j, then the setLevel()<br>
method in Logger is missing. Please file a bug report at<br>
<a href="http://bugzilla.slf4j.org/" target="_blank">http://bugzilla.slf4j.org/</a> so that this omission can be fixed (with a<br>
nop implementation of said method).<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Ceki<br>
65% of statistics are made up on the spot</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 07.01.2013 15:16, Mark Petrovic wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[Originally posted on 12/26/2012, but it apparently did not make it to<br>
the list archives. msp]<br>
<br>
Hi.  Thank you for SLF4J and Logback.<br>
<br>
I have this line of code that just today came in from an upstream<br>
dependency out of my control:<br>
<br>
     private static final Logger logger = Logger.getLogger(FooImpl.<u></u>class);<br>
     static {<br>
         logger.setLevel(Level.DEBUG);    <<<<<<<<<<<<<<<<<br>
     }<br>
<br>
Unfortunately, this is logging code I had been successfully bridging,<br>
but this setLevel() call on a Log4J logger breaks it.<br>
<br>
Do I have any elegant recourse beyond asking the developers of the line<br>
of code to not do this?<br>
<br>
Thanks.<br>
<br>
--<br>
Mark<br>
<br>
</blockquote>
<br></div></div><div class="HOEnZb"><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><br clear="all"><div><br></div>-- <br>Mark
</div>