Hello all

I’ve been using Tomcat 8.0.X with Log4j2, both for Tomcat logging and for my 
applicative logs, for a long time now.
It was done using the following jars:
extras/tomcat-juli.jar
extras/tomcat-juli-adapters.jar jars

I’m in the process of upgrading to Tomcat 8.5.4 and according to 
https://bz.apache.org/bugzilla/show_bug.cgi?id=58588 these jars are no longer 
distributed.

I followed the instructions in 
http://logging.apache.org/log4j/2.0/log4j-jul/index.html and performed the 
following:
1. Added  -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager  
to the java command
2. Added  log4j-jul-2.6.2.jar  to the classpath

Other than adding these through setenv.bat, I did not modify anything with the 
distribution (apache-tomcat-8.5.4-windows-x64.zip)

Now, when invoking startup.bat, Tomcat starts and exits immediately, without 
any console or log output

Please advise

Thanks in advance
Chen

Reply via email to