[logback-user] Configure logback, Tomcat and webapps logging

Giorgio Maria Santini giorgiom.santini at gmail.com
Thu Jan 27 16:11:58 CET 2011


Hello,

I'm trying to have my webapps logging with logback framework. I'm coming from a shell application where I've successfully had my logs handled by logback with no problems. Now I'm quite confusing using it with Tomcat. 

I've read about logback-access http://logback.qos.ch/access.html and it seems ok, but I don't understand where to put my config file for logback. Well, each of my webapps should have their own logback.xml configuration file, but in the manual it says to put the file in the global ${tomcat_home}/config folder, like to deny deploying a webapp with its configuration file under WEB-INF/classes path. 

There's a way to do it? I'm using Tomcat 6.0.30 and logback 0.9.24

Thanks a lot

Giorgio Maria Santini





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110127/86ca5353/attachment.html>


More information about the Logback-user mailing list