you'll need the modified juli adapter,
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/extras/

Filip

Philip Brusten wrote:
Hello everyone,

I've an unsolved issue with enabling tomcat logging with log4j.
In previous versions of tomcat, version 5.5 I did the following things:

I got the commons-logging-1.0.x binary package from http://jakarta.apache.org/site/downloads/downloads_commons-logging.cgi and extracted the jar to $CATALINA_HOME/common/lib/ Next, I got the log4j distribution package from http://logging.apache.org/site/binindex.cgi and extracted the jar to $CATALINA_HOME/common/lib/. And finally, I created a file log4j.properties in $CATALINA_HOME/common/classes/

I've discovered that the common loader has changed location and is now: $CATALINA_HOME/lib So I've put the commons-logging-1.1.jar, log4j-1.2.14.jar and the log4j.properties in $CATALINA_HOME/lib

When I restart tomcat, only the default juli logging is performed...

How do I tell tomcat to use log4j logging?

Regards,

Philip


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to