[logback-user] Failure to read logback.xml on Windows

Matthias Treydte waldheinz at gmail.com
Thu Jan 27 15:37:03 CET 2011


Hello,

I just found that the latest release (0.9.28) fails to find the
logback.xml file on Windows:

C:\temp\mwserv2>java -jar standalone-2.0-alpha-3-SNAPSHOT.jar -Dlog_level=DEBUG
15:09:48,612 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback.groovy]
15:09:48,612 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback-test.xml]
15:09:48,612 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Found resource [logback.xml] at
[jar:file:/C:/temp/mwserv2/standalone-2.0-alph
a-3-SNAPSHOT.jar!/logback.xml]
15:09:48,628 |-ERROR in
ch.qos.logback.core.joran.spi.ConfigurationWatchList at fe64b9 - URL
[jar:file:/C:/temp/mwserv2/standalone-2.0-alpha-3-SNAPSHOT.
jar!/logback.xml] is not of type file
15:09:48,691 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - debug
attribute not set
...

It seems to work on Linux, no other systems were tested. This problem
does not occur with logback 0.9.27, so I think this is a regession.

Kind regards,
-Matthias

PS: Thanks for this nice logging framework, and especially slf4j can
be a life-saver! :-)

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled. (R.P. Feynman)


More information about the Logback-user mailing list