Re: Problem with using log4j Tomcat and web application level

2012-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Izolda, On 9/16/12 6:19 AM, Kiss Izolda wrote: I have configured Tomcat to use log4j according to http://tomcat.apache.org/tomcat-7.0-doc/logging.html I have used the same log4j.properties. My web application is using log4j as well. There is no

Re: Problem with using log4j Tomcat and web application level

2012-09-17 Thread Mark Eggers
On 9/17/2012 9:31 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Izolda, On 9/16/12 6:19 AM, Kiss Izolda wrote: I have configured Tomcat to use log4j according to http://tomcat.apache.org/tomcat-7.0-doc/logging.html I have used the same log4j.properties. My web

Re: Problem with using log4j Tomcat and web application level

2012-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 9/17/12 1:36 PM, Mark Eggers wrote: So really, for me, it boils down to this. 1. Place log4j.xml in WEB-INF/classes 2. Write a servlet context listener a. contextInitialized - just write something to the log b. contextDestroyed - shut

Problem with using log4j Tomcat and web application level

2012-09-16 Thread Kiss Izolda
Dear Tomcat Users, I have configured Tomcat to use log4j according to http://tomcat.apache.org/tomcat-7.0-doc/logging.html I have used the same log4j.properties. My web application is using log4j as well. There is no log4j.jar in WEB-INF/lib. I have found entries in the web application's root