On 29/06/2021 01:11, Niranjan Rao wrote:

I wanted to setup log4j for tomcat logs and google searches seems to indicate that this is possible. Many articles speak about downloading tomcat-juli-adapters.jar from bin/extras directory.

I found out that for tomcat version 9, extras directory is last present on version 9.0.14 (https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.14/bin/). Latter versions do not have extras directory.

Is tomcat-juli-adapters file no longer required? What will be the best way to configure tomcat logs using log4j.

log4j was declared end of life in 2015. If you really need to use log4j then there are some pointers here:


I'd recommend the answer from Emmanuel Bourg.

If you are using log4j2 then you can use:


To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to