We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MDC does not seem to work in Log4J1 when using Java 21. That feature does not work with Java 1, but the logic to check if it is running in Java 1 is flawed. https://github.com/apache/logging-log4j1/blob/b7e9154128cd4ae1244c877a6fda8f834a0f2247/src/main/java/org/apache/log4j/helpers/Loader.java#L42-L50
Because of this, the tests that check the MDC functionality fail in Java 21. Thus they have been disabled for Java 21.
It is likely that the functionality will work with Java 21.0.1, so we should reenable the tests then.
Either:
The text was updated successfully, but these errors were encountered:
https://issues.newrelic.com/browse/NR-170086
Sorry, something went wrong.
https://new-relic.atlassian.net/browse/NR-180821
Successfully merging a pull request may close this issue.
Description
MDC does not seem to work in Log4J1 when using Java 21.
That feature does not work with Java 1, but the logic to check if it is running in Java 1 is flawed.
https://github.com/apache/logging-log4j1/blob/b7e9154128cd4ae1244c877a6fda8f834a0f2247/src/main/java/org/apache/log4j/helpers/Loader.java#L42-L50
Because of this, the tests that check the MDC functionality fail in Java 21. Thus they have been disabled for Java 21.
It is likely that the functionality will work with Java 21.0.1, so we should reenable the tests then.
Acceptance Criteria
Either:
The text was updated successfully, but these errors were encountered: