Joan,
On Fri, 26 Jan 2024 at 13:33, wrote:
> Issue fixed. The problem was in the disruptor library, which we also migrated
> from 3.4.4 to 4.0.0. Downgrading again to 3.4.4. fixed the problem.
Thank you for sharing your solution with us. Since nobody was able to
diagnose this problem from your
: Async logger not logging after upgrading tomcat, jdk and log4j
Hi Joan,
On Thu, 25 Jan 2024 at 12:06, wrote:
> My application has been using async logging for years by setting this env
> variable on tomcat 8.5.x running on java 11 with log4j-2.15/6/7/8/9:
> -DLog4jContex
he.logging.log4j2:type=55494dde,component=StatusLogger
DEBUG StatusLogger Registering MBean
org.apache.logging.log4j2:type=55494dde,component=ContextSelector
DEBUG StatusLogger Registering MBean
org.apache.logging.log4j2:type=55494dde,component=Appenders,name=DefaultConsole-2
Joan.
-----Original Message-
From:
Hello,
Here is the trace when starting tomcat with
'-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector':
https://gist.github.com/joanbalaguero/1fa286417bfc9dbd3ce75e043bd26f3d
It seems the async contexts are started, but maybe someone can see something
wrong
: Log4J Users List
Subject: Re: Async logger not logging after upgrading tomcat, jdk and log4j
Hello,
Check the dependency hierarchy, which version of log4j is being used.
I had faced similar issue, even though if I specified some particular version
of log4j, maven was not picking that
Hi Piotr,
I already did it ... no success.
Thanks,
Joan.
-Original Message-
From: Piotr P. Karwasz
Sent: Thursday, January 25, 2024 1:20 PM
To: Log4J Users List
Subject: Re: Async logger not logging after upgrading tomcat, jdk and log4j
Hi Joan,
On Thu, 25 Jan 2024 at 12:06
Hi Joan,
On Thu, 25 Jan 2024 at 12:06, wrote:
> My application has been using async logging for years by setting this env
> variable on tomcat 8.5.x running on java 11 with log4j-2.15/6/7/8/9:
> -DLog4jContextSelector=org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector
>
> Now we
Hello,
Check the dependency hierarchy, which version of log4j is being used.
I had faced similar issue, even though if I specified some particular
version of log4j, maven was not picking that particular version though
there were no other dependencies which were using log4j at any nested level.
F
Hello,
I would like to ask about this issue before starting to post debug logs.
My application has been using async logging for years by setting this env
variable on tomcat 8.5.x running on java 11 with log4j-2.15/6/7/8/9:
-DLog4jContextSelector=org.apache.logging.log4j.core.async.BasicAsyncLogg