<html>
<head>
<base href="http://bugzilla.slf4j.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Add a NOOP method org.apache.log4j.Logger.setLevel() to enhance the bridging of Log4J over SLF4J"
href="http://bugzilla.slf4j.org/show_bug.cgi?id=289#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Add a NOOP method org.apache.log4j.Logger.setLevel() to enhance the bridging of Log4J over SLF4J"
href="http://bugzilla.slf4j.org/show_bug.cgi?id=289">bug 289</a>
from <span class="vcard"><a class="email" href="mailto:robert@teviotia.co.uk" title="Robert Elliot <robert@teviotia.co.uk>"> <span class="fn">Robert Elliot</span></a>
</span></b>
<pre>Assuming you're using Maven, declare a test scoped dependency on an
implementation and get the actual implementation's logger out in your unit
tests - it will have a method for setting levels on it.
You might want to consider slf4j-test -
<a href="http://projects.lidalia.org.uk/slf4j-test/">http://projects.lidalia.org.uk/slf4j-test/</a> . Disclaimer - I wrote it!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>