Specifying the location of the log4j.xml file in CATALINA_OPTS is ignored.
It will only pick it up from the classes/ directory. Ideally I would like
to put it under the conf/ directory but am having no such luck.
I got it to work sort of. I can not get fileappenders to work. I am trying
to
From: Lisa [mailto:[EMAIL PROTECTED]
Subject: How to enable log4 for use with Tomcat?
Now how do I tell Tomcat to use this jar and to specifiy a
log4j.xml file to use for the configuration?
Have you looked at the relevant doc?
http://tomcat.apache.org/tomcat-5.5-doc/logging.html#log4j
-
From: Lisa [mailto:[EMAIL PROTECTED]
Subject: RE: How to enable log4 for use with Tomcat?
yes, but there is no mention about log4j.xml. What config
file in tomcat do I edit to point to a log4j.xml file and
have it use that for config instead of the .properties file.
Look at the Default