<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I have a bit of strange problem that I do not understand at all.</div><div><br></div><div>I am working on sorting out a bit of a nightmare at work. We have 100s of project that get mixed in various way into applications packaged in war's and ear's. There are a number of logging technologies uses through these projects including logback, log4j, slf4j and JCL. (It's a goodness I have not found JUL yet:)&nbsp;</div><div><br></div><div>On of the issues I am working on is to reduce the noise from third party libraries. I tracked down some of this to JCL being used and eventually logback getting control of the output. As a quick fix while I sort a proper strategy I decided to add a logback.xml configuration to one of the applications. Sure enough all of the debug noise from the third party libraries subsided. As I next step I tried to turn the debug back on and oddly I cannot. If I rename logback.xml the debug message start again. This seems so straightforward I cannot imagine what I am doing wrong. The two version of the configuration file follow.</div><div><br></div><div><br>
</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">=== INFO Level<br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&lt;configuration&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp;&lt;appender&nbsp;name="STDOUT"&nbsp;class="ch.qos.logback.core.ConsoleAppender"&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;encoder&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;pattern&gt;%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/pattern&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/encoder&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp;&lt;/appender&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp;&lt;root&nbsp;level="DEBUG"&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;appender-ref&nbsp;ref="STDOUT"&nbsp;/&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp;&lt;/root&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&lt;/configuration&gt;</span><br><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;"><br></span></font>=== DEBUG Level<br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&lt;configuration&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp;&lt;appender&nbsp;name="STDOUT"&nbsp;class="ch.qos.logback.core.ConsoleAppender"&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;encoder&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;pattern&gt;%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/pattern&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/encoder&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp;&lt;/appender&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp;&lt;root&nbsp;level="DEBUG"&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;appender-ref&nbsp;ref="STDOUT"&nbsp;/&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&nbsp;&nbsp; &nbsp; &nbsp;&lt;/root&gt;</span><br><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 14px; ">&lt;/configuration&gt;</span></blockquote><div class="Section1"><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;"><br></span></font></div><div class="Section1"><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;"><br></span></font></div><div class="Section1"><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;"><span class="Apple-style-span" style="font-family: Verdana; font-size: medium; ">Any ideas of where I am going wrong would be very appreciated.</span></span></font></div><div class="Section1"><br></div><div class="Section1">Many thanks,</div><div class="Section1">Joel</div><div class="Section1"><br></div><div class="Section1"><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;"><br></span></font></div></body></html>