[logback-user] maven jetty logback

Ceki Gulcu listid at qos.ch
Wed Jun 20 21:11:49 CEST 2007


Hi Kevin,

Do you wish to use logback-classic or logback-access with the maven-jetty plug-in?

For logback-classic, place logback.xml in src/main/resources or src/test/resources.

Did you know that logback-classic checks for logback-test.xml first and for 
logback.xml second?

HTH,


Kevin S. Clarke wrote:
> Hi,
> 
> I want to use logback with the maven-jetty plugin but I don't seem to
> be able to find the right place to put the logback.xml file.  I've
> read the jetty app by itself looks in the $JETTY_HOME/resources folder
> but $project/src/resources doesn't seem to work for the plugin.
> 
> Any ideas?
> 
> Thanks,
> Kevin

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch



More information about the Logback-user mailing list