Depends on what you're asking. If you're asking to use log4j to capture Tomcat logging, then the answer is - you can't but you can use Log4j2 or JULI. If the question is how to use log4j for your apps deployed under Tomcat, then answer can be found easily...
From: Cheltenham, Chris <ccheltenham-...@philasd.org> Sent: Friday, May 18, 2018 7:50 AM To: 'Tomcat Users List' <users@tomcat.apache.org> Subject: log4j Hello, How do I configure Tomcat 8.5.x to use log4j? Is there a good document to follow? I am not very familiar with java but it looks like you configure to logs to accept java logging for Tomcat. =========================== Thank You; Chris Cheltenham Technology Services The School District of Philadelphia Work # 215-400-5025 Cell # 215-301-6571