Hi Ralph,
On Thu, 7 Apr 2022 at 07:50, Ralph Goers wrote:
> Second, putting the property in log4j2.component.properties is correct.
> However, it must only be on the classpath of the web app that needs it, not
> in a shared directory.
If there is no `log4j-api` in the web app classpath, I
er, I would try again putting it various
places in webapps war file.
-Original Message-
From: Ralph Goers
Sent: Thursday, April 7, 2022 11:21 AM
To: Log4J Users List
Subject: Re: can we set log4j property 'Log4jContextSelector' per webapps war
*** External email: Verify sender bef
oers
Sent: Thursday, April 7, 2022 11:21 AM
To: Log4J Users List
Subject: Re: can we set log4j property 'Log4jContextSelector' per webapps war
*** External email: Verify sender before opening attachments or links ***
I asked where the jars are located. You replied "Along with various oth
Get Outlook for iOS<https://aka.ms/o0ukef>
>
> From: Ralph Goers
> Sent: Wednesday, April 6, 2022 11:54:26 PM
> To: Log4J Users List
> Subject: Re: can we set log4j property 'Log4jContextSelector' per webapps war
>
> *** External ema
kef>
From: Ralph Goers
Sent: Wednesday, April 6, 2022 11:54:26 PM
To: Log4J Users List
Subject: Re: can we set log4j property 'Log4jContextSelector' per webapps war
*** External email: Verify sender before opening attachments or links ***
OK. If all 3 wars are using the same Log4
__
> From: Ralph Goers
> Sent: Wednesday, April 6, 2022 11:33:55 PM
> To: Log4J Users List
> Subject: Re: can we set log4j property 'Log4jContextSelector' per webapps war
>
> *** External email: Verify sender before opening attachments or links ***
>
>
> Where are th
Outlook for iOS<https://aka.ms/o0ukef>
From: Ralph Goers
Sent: Wednesday, April 6, 2022 11:33:55 PM
To: Log4J Users List
Subject: Re: can we set log4j property 'Log4jContextSelector' per webapps war
*** External email: Verify sender before opening attac
Where are the Log4j jars located?
Ralph
> On Apr 6, 2022, at 6:34 AM, Pooja Pandey wrote:
>
> Hi,
>
> In my application, I have 2 processes running and there are 3 webapps war
> files which get deployed in tomcat version 9.0.60. Out of these 3 war files,
> one war file is internal to my
You could try out the JndiContextSelector for this use case as it’s all hosted
in the same container server.
—
Matt Sicker
> On Apr 6, 2022, at 08:41, Pooja Pandey wrote:
>
> For other 2 wars I get following harmless error when I keep
> 'log4j2.component.properties' file on log4j jars class
For other 2 wars I get following harmless error when I keep
'log4j2.component.properties' file on log4j jars class path, to fix class cast
exception which I was getting earlier during deployment of my war file.
ERROR StatusLogger Unable to create custom ContextSelector. Falling back to
10 matches
Mail list logo