Hello, I have problems configuring the Tomcat 5.5's internal logging. I need to see stack traces of uncaught exceptions. I know, this question has been discussed and answered numerous times on this list but even after reading the logging documentation ( http://tomcat.apache.org/tomcat-5.5-doc/logging.html) and discussions here I can't solve this problem.
My setup is the following: Tomcat's CATALINA_HOME is in /opt/tomcat and the webapps are located elsewhere by setting CATALINA_BASE for each. The webapps use log4j for their own logging and it is configured individually for each webapp. The webapp logging works fine but I dont get the Tomcat's exceptions in webapp's log file or catalina.out. I have copied log4j and commons logging jars to Tomcat's common/lib and copypasted the log4j.properties from the logging documentation to common/classes. The result was that after restarting the apps their logging went to this common log file in addition to their own log files. However, the Tomcat log information was not there. So, how do I get the old style localhost log information about errors?