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
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
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
Hi All:
I have a web application that uses log4j (v2.20) which runs inside
Tomcat 9.x on Java 8.
Currently, the WEB-INF/log4j2.xml configuration file in the application
sends its output to a rolling file appender targeting a separate file on
the file system, but what I'd like to do is make a