Gentoo Archives: gentoo-java

From: Allen Lee <Allen.Lee@×××.edu>
To: gentoo-java@l.g.o
Subject: [gentoo-java] tomcat-6 webapp and container logging with log4j
Date: Tue, 27 Mar 2007 17:30:52
Message-Id: a9e244f90703271029n25dfb06ala6a1c280496de736@mail.gmail.com
1 Has anyone successfully gotten webapp and/or container logging with log4j
2 set up with tomcat-6.10-r1? My most pressing problem is getting webapp
3 logging via log4j working and dumping logfiles in /var/log/tomcat-6. For
4 some reason the exact same setup and configuration files/parameters that
5 worked for me in tomcat-5.5 and earlier versions (log4.jar in the
6 WEB-INF/lib directory and log4j.properties in the WEB-INF/classes directory)
7 does not create custom webapp logfiles in the logs directory. I've gone
8 through the instructions at
9 http://tomcat.apache.org/tomcat-6.0-doc/logging.html but that mostly covers
10 how to switch tomcat's container logging to log4j (or configuring the
11 neutered java.util.logging via JULI).
12
13 Any input would be much appreciated. Thanks in advance!
14
15 --
16 Allen Lee
17 Research Computist
18 School of Human Evolution and Social Change
19 Matthews Hall 112B
20 480.727.0401