<div dir="ltr">Hi. Thank you for SLF4J and Logback.<div><br></div><div>I have this line of code that just today came in from an upstream dependency out of my control:</div><div><br></div><div><div> private static final Logger logger = Logger.getLogger(FooImpl.class);</div>
<div> static {</div><div> logger.setLevel(Level.DEBUG); <<<<<<<<<<<<<<<<</div><div> }</div><div><br></div><div style>Unfortunately, this is logging code I had been successfully bridging, but this setLevel() call on a Log4J logger breaks it.</div>
<div style><br></div><div style>Do I have any elegant recourse beyond asking the developers of the line of code to not do this? </div><div style><br></div><div style>Thanks.</div><div><div><br></div>-- <br>Mark
</div></div></div>