Hello Ravi,

Here [1] upi can find an example of tomcat 9 + log4j2.

Hope it helps,

Luis

[1] https://github.com/lurodrig/log4j2-in-tomcat

El mié, 24 feb 2021 a las 17:09, Ravi Kumar (<ravku...@tibco.com.invalid>)
escribió:

> Hi Mark,
>
> Thanks for the suggestion and help. We will review and revert .
>
> Thanks again.
> Regards,
> Ravi
>
> On Wed, Feb 24, 2021 at 9:30 PM Mark Thomas <ma...@apache.org> wrote:
>
> > On 24/02/2021 15:57, Ravi Kumar wrote:
> > > Hi Tomcat Team,
> > >
> > > We used to have *Tomcat-juli.jar and Tomcat-juli-adapters.jar*
> available
> > on
> > > Tomcat7 download pages under the EXTRAS directory.
> > >
> > > But with Tomcat 9, we don't have these 2 jars or in fact extras folder
> > > available. We use these jars for logging purposes of the
> web-application
> > > console.
> > >
> > > Could you please suggest any alternative jars or any other way for
> > > accommodating this replacements in Tomcat 9 ?
> >
> > Those were for log4j 1.x which is no longer supported.
> >
> > If you want to use log4j 2.x that can intercept java.util.logging
> > (Tomcat's default logging system) without additional Tomcat JARs.
> > Details on how to intercept j.u.l should be in the log4j 2.x docs.
> >
> > Mark
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
>


-- 

"Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better."

- Samuel Beckett

Reply via email to