<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sigh, cut and paste bites again... corrected examples below<br>
<br><div><div>On 23 May 2010, at 13:53, Joel Rosi-Schwartz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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="INFO"&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></div></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="color: rgb(8, 81, 147); font-size: 18px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="color: rgb(8, 81, 147); font-size: 18px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="color: rgb(8, 81, 147); font-family: Arial; font-size: x-small; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(8, 81, 147); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(8, 81, 147); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(8, 81, 147); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(8, 81, 147); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(8, 81, 147); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><font class="Apple-style-span" color="#5C8137" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 16px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><font class="Apple-style-span" color="#008000" face="Webdings, serif" size="7"><span class="Apple-style-span" style="font-size: 32px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><font class="Apple-style-span" color="#008000" face="Webdings, serif" size="7"><span class="Apple-style-span" style="font-size: 32px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000" face="Verdana, serif" size="5"><span class="Apple-style-span" style="font-size: 18px; "><font class="Apple-style-span" color="#008000" face="Webdings, serif" size="7"><span class="Apple-style-span" style="font-size: 32px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; "><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><font class="Apple-style-span" face="Verdana" size="5"><span class="Apple-style-span" style="font-size: 18px; "><font class="Apple-style-span" color="#008000" face="Webdings, serif" size="7"><span class="Apple-style-span" style="font-size: 32px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><font class="Apple-style-span" color="#008000" face="Webdings, serif" size="7"><span class="Apple-style-span" style="font-size: 32px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'Times New Roman', serif; font-size: 16px; "><span style="color: black; "><span class="Apple-style-span" style="font-family: Webdings, serif; font-size: 32px; color: rgb(0, 128, 0); "></span>&nbsp;&nbsp;&nbsp;</span><span><font class="Apple-style-span" face="'Trebuchet MS'"><font class="Apple-style-span" color="#397C19">Please consider the environment before printing this e-mail. Thank you.</font></font></span></span></div></span></font></div><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "></div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font class="Apple-style-span" color="#397C19"><font class="Apple-style-span" color="#000000"><br></font></font></div></div></span></span></font></span></font></div></div></span></span></font></span></font></div></span></font></div></span></span></font></div></span></span></font></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 16px; "><font class="Apple-style-span" color="#5C8137"><a href="http://www.etish.org">http://www.etish.org</a>&nbsp;</font><font class="Apple-style-span" color="#085193">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.eclipse.org/ormf">http://www.eclipse.org/ormf</a></font></span></div><div><font class="Apple-style-span" color="#085193"><span><font class="Apple-style-span" face="Arial" size="1"><span class="Apple-style-span" style="font-size: 9px; "><br class="Apple-interchange-newline"></span></font><span><span><font class="Apple-style-span" face="Arial" size="1"><span class="Apple-style-span" style="font-size: 9px; "></span><span></span><span></span><span></span><span></span></font></span><font class="Apple-style-span" face="Arial" size="1"><span></span></font></span><font class="Apple-style-span" face="Arial" size="1"><span></span></font></span><font class="Apple-style-span" face="Arial" size="1"><span><img height="140" width="600" id="07d62d0f-f0f0-45c2-ae0e-0bb96b8266b5" apple-width="yes" apple-height="yes" src="cid:9C524DFC-3B6E-4A37-BF61-CD4398B5FB89@etish.org"></span>
</font></font></div><font class="Apple-style-span" color="#085193"><font class="Apple-style-span" face="Arial" size="1">
</font></font></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></div><br></body></html>