[logback-user] Jetty Maven config

Brian Moschel brian.moschel at gmail.com
Mon Jul 13 21:54:27 CEST 2009

Hey guys,
I'm trying to specify my logback.xml location with no luck, and no error or
info messages to help guide me.  I have a Jetty app using Maven for
config/startup.  In my jetty-web.xml I have the following:

<Call name="addHandler">
     <New class="org.mortbay.jetty.handler.RequestLogHandler">
       <Set name="requestLog">
         <New id="requestLogImpl"
         <Set name="fileName">${basedir}/src/main/config/logback.xml</Set>

But this logback.xml is not being loaded, its using the default location of
src/webapp/WEB-INF/classes/logback.xml.  If I remove that file, logback
doesn't start.  Any ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20090713/ce9830c2/attachment-0001.htm>

More information about the Logback-user mailing list