Re: how to use log4j-to-jul with log4j-web

2023-06-05 Thread Jason Guild
Hi All: Thank you all for your help and the good information about log4j-web and log4-core. I already had my per-application logging configured in WEB-INF/logging.properties and all output is going to the same log file now that I've switched to log4j-to-jul. Cheers, Jason On 6/2/2023 2:13

Re: how to use log4j-to-jul with log4j-web

2023-06-02 Thread Piotr P. Karwasz
Hi Jason, On Sat, 3 Jun 2023 at 00:13, Jason Guild wrote: > The application currently uses log4j-web to get the all the essential > setup for initializing log4j 2 under an application container. The > log4j-web library appears to have a hard dependency on log4j-core. The `log4j-web` module is on

Re: how to use log4j-to-jul with log4j-web

2023-06-02 Thread Ralph Goers
You are correct that log4j-to-jul routes the log4j2 API to java.util.logging. When using log4j-to-jul you cannot use ANY other log4j modules except for log4j-api. You must configure Tomcat’s logging to handle all the logging for your application. Ralph > On Jun 2, 2023, at 3:13 PM, Jason Guil