[logback-user] logback.xml problem

Chris Cheshire cheshirator at gmail.com
Tue Aug 12 02:32:15 CEST 2008


I am trying to convert from log4j to logback, and up until now I have just
used the default logging configuration logback provides.

Now I am trying to get the errors emailing out, and I have created a
logback.xml, put it under "resources" and compiled it into my application
jar, yet when I run my app it doesn't appear that the config file is even
being loaded (I put a debug="true" in the configuration element and nothing
appears on the console like in the example 3.4 in the documentation).

What am I missing? The documentation says to create a file called
logback.xml and place it in a folder on the classpath and the default
configurator will find it, yet it is not.

Please help!

Chris
-- 
View this message in context: http://www.nabble.com/logback.xml-problem-tp18936222p18936222.html
Sent from the Logback User mailing list archive at Nabble.com.



More information about the Logback-user mailing list