Ankit

-----Original Message-----
From: Berneburg, Cris J. - US 
Sent: Thursday, April 13, 2017 10:35 AM
To: Tomcat Users List
Subject: RE: Using Log4J2 2.8 (via the 1.2 API Bridge) for Tomcat8 Internal 
Logging - RollingFileAppender does not (cannot?) create new Log File

>> The only problem is that Tomcat only supports the Log4J
>> 1.x API. It doesn't natively support Log4J2 so we have
>> to use the 1.x -> 2.x Bridge and some things do not work.
>
> OK, can you get it basically working with the older Log4J
> instead, without the fancy stuff, just to investigate?
>
> Also, I don't know the interface between Tomcat/Log4J.  I
> would have guessed that Log4J would need to conform to the
> Apache Commons Logging API, not the other way around.  But
> again, I'm new to this.

Below is something interesting that Mark Thomas (current Tomcat maintainer) has 
to say about Tomcat and Log4J/2:

-----Original Message-----
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: Tuesday, April 11, 2017 1:22 PM
To: Tomcat Users List
Subject: Re: tomcat-embed-logging-juli not updated in Maven Central?

> log4j is no longer supported. Its replacement, log4j2, can
> hook directly into the java.util.logging framework. Therefore,
> there is no need for the separate modules. The classes from
> the tomcat-embed-logging-juli JAR were merged into the core JAR.

--
Cris Berneburg
CACI Lead Software Engineer
 

Reply via email to