[logback-user] ERROR: URL [jar:file:/something.jar!/logback.groovy] is not of type file

Evgeny Goldin evgenyg at gmail.com
Thu Mar 24 19:47:57 CET 2011


Hi,

I get the following error when my library starts. It uses Logback via SLF4J
API and "logback.groovy"<https://github.com/evgeny-goldin/gcommons/blob/master/src/main/resources/logback.groovy>is
packed in the root of jar file.

20:36:58,117 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found
resource [logback.groovy] at [jar:file:/C:/Users/evgeny/.m2/repository/...
/gcommons-0.5.3-SNAPSHOT.jar!/logback.groovy]
20:36:58,122 |-ERROR in
ch.qos.logback.core.joran.spi.ConfigurationWatchList at 139d891 - URL
[jar:file:/C:/Users/evgeny/.m2/repository/../*
gcommons-0.5.3-SNAPSHOT.jar!/logback.groovy*] is not of type file
20:36:58,401 |-INFO in
ch.qos.logback.classic.gaffer.ConfigurationDelegate at b92dc2 - About to
instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
20:36:58,402 |-INFO in
ch.qos.logback.classic.gaffer.ConfigurationDelegate at b92dc2 - Naming appender
as [CONSOLE]

I tracked it down to
ConfigurationWatchList.convertToFile()<http://logback.qos.ch/xref/ch/qos/logback/core/joran/spi/ConfigurationWatchList.html#65>that
raises this error.

1) Is it a bug that this an Ok jar-based URL is marked as an error?
2) Can I start up the library silently without those messages displayed?
This is my main goal here.

Thanks!

Best regards,
Evgeny
evgeny-goldin.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110324/954bbc2b/attachment-0001.html>


More information about the Logback-user mailing list