[logback-user] Logback with Tomcat 7

martin.burchard at pentos.com martin.burchard at pentos.com
Mon Jun 4 13:51:46 CEST 2012


today I've changed the WAR file of my App to only contain the classes of 
my project.
All other dependencies , also logback, I put into the tomcat/lib folder.
The logback.xml is still in my WAR, but it looks like it is now ignored.

Then I put the logback.xml also into the lib folder and changed it, that 
it configures only the root logger.
Seems to work, but my logback.xml in the WAR file is still ignored.

How can a set up a global logging and in addition configure logging on a 
per webapp basis?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120604/6b4671de/attachment.html>

More information about the Logback-user mailing list