<div dir="ltr"><font face="georgia,serif">Created an issue:Â <a href="http://jira.qos.ch/browse/LBCLASSIC-259">http://jira.qos.ch/browse/LBCLASSIC-259</a><br clear="all"></font><div dir="ltr"><div><font class="Apple-style-span" face="georgia, serif"><br>
</font></div></div>
<br><br><div class="gmail_quote">On Thu, Mar 24, 2011 at 21:12, Becker, Thomas <span dir="ltr"><<a href="mailto:Thomas.Becker@netapp.com">Thomas.Becker@netapp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I’ve been seeing this ever since we upgraded to 0.9.28, and have
been meaning to open an issue about it. It’s not specific to Groovy based
configuration. It’s really a pain when every unit tests produces this output,
since it makes it much harder to simply grep for ERRORs… You’re correct that
it seems to not like the fact that the config file is jarred up.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Â </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> Evgeny Goldin
[mailto:<a href="mailto:evgenyg@gmail.com" target="_blank">evgenyg@gmail.com</a>] <br>
<b>Sent:</b> Thursday, March 24, 2011 2:48 PM<br>
<b>To:</b> <a href="mailto:logback-user@qos.ch" target="_blank">logback-user@qos.ch</a><br>
<b>Subject:</b> [logback-user] ERROR: URL
[jar:file:/something.jar!/logback.groovy]is not of type file</span></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal">Â </p>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">Hi,</span></p>
<div>
<p class="MsoNormal">Â </p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">I get the
following error when my library starts. It uses Logback via SLF4J API and <a href="https://github.com/evgeny-goldin/gcommons/blob/master/src/main/resources/logback.groovy" target="_blank">"logback.groovy"</a>
is packed in the root of jar file.</span></p>
</div>
<div>
<p class="MsoNormal">Â </p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">20:36:58,117 |-INFO
in ch.qos.logback.classic.LoggerContext[default] - Found resource
[logback.groovy] at [jar:file:/C:/Users/evgeny/.m2/repository/...<span>/gcommons-0.5.3-SNAPSHOT.jar!/logback.groovy]</span></span><span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">20:36:58,122 |-ERROR
in ch.qos.logback.core.joran.spi.ConfigurationWatchList@139d891 - URL
[jar:file:/C:/Users/evgeny/.m2/repository/..<span>/<b>gcommons-0.5.3-SNAPSHOT.jar!/logback.groovy</b>]
is not of type file</span></span><span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">20:36:58,401 |-INFO
in ch.qos.logback.classic.gaffer.ConfigurationDelegate@b92dc2 - About to
instantiate appender of type [ch.qos.logback.core.ConsoleAppender]</span><span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">20:36:58,402 |-INFO
in ch.qos.logback.classic.gaffer.ConfigurationDelegate@b92dc2 - Naming appender
as [CONSOLE]</span><span></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span>Â </span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">I tracked it
down to <a href="http://logback.qos.ch/xref/ch/qos/logback/core/joran/spi/ConfigurationWatchList.html#65" target="_blank">ConfigurationWatchList.convertToFile()</a>
that raises this error. </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">Â </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">1) Is it a bug
that this an Ok jar-based URL is marked as an error?</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">2) Can I start
up the library silently without those messages displayed? This is my main goal
here.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">Â </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">Thanks!</span></p>
</div>
<div>
<div>
<p class="MsoNormal">Â </p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">Best regards,</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif"">Evgeny</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Georgia","serif""><a href="http://evgeny-goldin.com/" target="_blank">evgeny-goldin.com</a></span></p>
</div>
<div>
<p class="MsoNormal">Â </p>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
<br></blockquote></div><br></div>