Dear Log4j community,
While working on the December 2021 Apache Log4j 2 releases the Apache
Logging Services PMC received requests to reevaluate the 2015
End-of-Life (EOL) decision for Apache Log4j 1, which has seen its
latest release in 2012.
We have considered these requests and discussed vario
This is temporary and only enables log4j to debug what is going on with
configuration, rollovers, etc. It doesn’t matter where your log4j configuration
resides. Please set the property on whatever you use to start your server.
Ralph
> On Jan 5, 2022, at 1:34 PM, Niranjan Rao wrote:
>
> On 1/4
On 1/4/22 6:16 PM, Jin, Ying wrote:
Hello,
We have a requirement to use external server-side log4j2.properties file for
our log4j2 upgrade projects. After using the following jar files in the project
and use the code below to configure log4j with an external log4j2 property
file. We still see
That’s a system property to set on the java command line invocation of your
application.
—
Matt Sicker
> On Jan 5, 2022, at 10:51, Jin, Ying wrote:
>
> Can you let me know where I should put the following property in the
> application? Thanks!
>
> -Dlog4j2.debug=true
>
> From: Jin, Ying
>
Can you let me know where I should put the following property in the
application? Thanks!
-Dlog4j2.debug=true
From: Jin, Ying
Sent: Wednesday, January 5, 2022 9:34 AM
To: log4j-user@logging.apache.org
Subject: RE: RE: how to use external log4j2 property file
On 2022/01/05 02:16:47 "Jin, Ying"
OK, what you are doing should work. Can you add -Dlog4j2.debug=true to the
application and provide the output from the Log4j StatusLogger?
Ralph
> On Jan 5, 2022, at 8:33 AM, Jin, Ying wrote:
>
> Hello Ralph,
>
> In my previous message that I mentioned that we commented out this file
> locat
Hello Ralph,
In my previous message that I mentioned that we commented out this file located
in our project by using "#". The log4j2.properties file on server has no # sign.
Thanks,
Jenny
From: Jin, Ying
Sent: Wednesday, January 5, 2022 8:49 AM
To: log4j-user@logging.apache.org
Subject: RE: how
This may be a silly question, but do each of the entries actually start with #?
That would mean all the lines are commented out.
Ralph
> On Jan 5, 2022, at 7:49 AM, Jin, Ying wrote:
>
> Ralph,
> Thanks for your reply! The two log4j jar files were put in the application's
> WEB-INF/lib folder
Ralph,
Thanks for your reply! The two log4j jar files were put in the application's
WEB-INF/lib folder. Anything needs to be changed in the web.xml? One
application uses JDK 11, JSF2.3 and the other one uses JDK 11, GWT2.9 etc.
Please see below for the log4j2.properties file that was put in the r