Skip to content

Port log4j-slf4j2-impl changes from 2.x #2158

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

Merged
merged 7 commits into from
Jan 5, 2024

Conversation

ppkarwasz
Copy link
Contributor

This PR adds to the log4j-slf4j2-impl module the missing changes from the 2.x branch.

After this change git diff 2.x main -- log4j-slf4j2-impl should only contain changes related to serialization.

@ppkarwasz ppkarwasz added this to the 3.0.0 milestone Jan 3, 2024
@ppkarwasz ppkarwasz self-assigned this Jan 3, 2024
Piotr P. Karwasz and others added 7 commits January 5, 2024 15:41
`LogManager.getGlobal().getLevel()` is not a good fallback for the case
when all JUL logger levels are null, since its level is usually null.
Workaround a Coursier/Ivy dependency resolution bug that affects
`log4j-slf4j-impl` and `log4j-mongodb3`.

This bug also affects popular sites like MvnRepository (cf.
[`log4j-mongodb3:2.22.0`](https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-mongodb3/2.22.0)).

Closes apache#2065
@ppkarwasz ppkarwasz merged commit 7c5004c into apache:main Jan 5, 2024
@ppkarwasz ppkarwasz deleted the sync-slf4j2-impl branch January 5, 2024 16:22
@ppkarwasz ppkarwasz modified the milestones: 3.0.0, 3.0.0-beta2 Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants