-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When bump from 2.23.0 to 2.23.1, the status
of the .properties
configuration file no longer works
#2794
Comments
@linghengqian, I am not able to reproduce the issue. When I run the following code:
using following system properties:
it produces below output:
That is, Would you mind putting a breakpoint to |
|
@linghengqian, Log4j is no different. You can run a particular test from the command line and debug it in IDEA:
|
@linghengqian, your Status Logger setup is broken by a combination of Status Logger enhancements introduced in Log4j You can view the effective POM using:
Remove
Details of how Status Logger works and the effect of |
|
@linghengqian, I presume you don't have issues anymore or resolved them using my suggestions. I am closing this ticket. Feel free to re-open it if your problem persists. |
Description
[A clear and concise description of what the bug is.]
status
of the.properties
configuration file no longer works. This is manifested as the log starting to print a lot of log4j2 internalTRACE
andDEBUG
level LOGs. The current issue is an extension of Fix handling ofonMatch
andonMismatch
attributes in the properties configuration format #2791 to avoid addressing multiple, possibly unrelated issues in the same issue.hive-log4j2.properties
seemed to be partially invalid, as reflected in the large number of TRACE and DEBUG logs. I can't seem to see any relevant information from the changelog of https://github.com/apache/logging-log4j2/releases/tag/rel%2F2.23.1.Configuration
Version: [Log4j version]
2.23.1
Operating system: [OS and version]
Ubuntu WSL 22.04.4
JDK: [JDK distribution and version]
8.0.422-tem
onSDKMAN!
Logs
TRACE
andDEBUG
level LOGs. Of course, apache/hive has a java function inorg.apache.hive.hplsql.TestHplsqlLocal#getTestOutput(String)
to filter some output.Error Log
Reproduction
[An isolated test reproducing the test.
JUnit tests similar to the ones in the code base are extremely appreciated.]
/hive/data/conf/hive-log4j2.properties
. It's really long.`/hive/data/conf/hive-log4j2.properties`
The text was updated successfully, but these errors were encountered: