at top-level in the classpath) or else supply an empty file
at one of these locations to suppress the one on the server classpath
CATALINA_BASE/conf/logging.properties should be deleted or renamed.
Jonathan Ross wrote:
>
> Thanks, this worked. I downloaded tomcat-juli.jar from
> http:/
Thanks, this worked. I downloaded tomcat-juli.jar from
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.18/bin/extras/, replaced
my build with it, and now have log4j at the server level. (I still need to
very the classloader order prefers log4j.jar in a webapp.)
Mark Thomas-18 wrote:
>
> M
> > I can't move log4j.jar to the system classpath, because then it
> > will be visible to all webapps
> It was already visible to all webapps when the jar was in Tomcat's lib
> directory, so moving it
> should not matter. The local copies in WEB-INF/lib *should* be found
> before the system
>
I'd like to use Log4J at the server level, but following the
http://tomcat.apache.org/tomcat-6.0-doc/logging.html instructions at
apache.org doesn't seeem to work with 6.0.18.
1) Rebuilding tomcat-juli.jar using extras.xml doesn't include an adapter
for Log4J. The build file lists
org/apache/