Hello, > Von: "Antti Ollilainen" <[EMAIL PROTECTED]> > 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? the commons/lib commons/classes are the problem. It is _good_ to have all jars for the application in WEB-INF/lib and the configuration in WEB-INF/classes . Remove the jars from commons/lib and the config from commons/classes and configure the server with $CATALINA_HOME/server/lib and $CATALINA_HOME/server/classes . Use commons-logging-adapters.jar for your webapplication. Place a commons-logging.properties in each WEB-INF/classes with a org.apache.commons.logging.Log property in it. Defining this property in a commons-logging.properties file is the recommended way of explicitly selecting a Log implementation.
Read also http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html http://jakarta.apache.org/commons/logging/guide.html http://jakarta.apache.org/commons/logging/troubleshooting.html Feedback if it works would be nice. Regards Boris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]