Skip to content

Port log4j-to-jul changes from 2.x #2150

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 2 commits into from
Jan 5, 2024
Merged

Conversation

ppkarwasz
Copy link
Contributor

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

Regarding the log4j-to-jul module, the only differences between the 2.x and 3.x version is the absence of an OSGi activator in the 3.x version: we rely on Service Loader Mediator in 3.x.

@ppkarwasz ppkarwasz changed the title Sync log4j-to-jul between 2.x and 3.x branch Port log4j-to-jul changes from 2.x Jan 2, 2024
@ppkarwasz ppkarwasz self-assigned this Jan 2, 2024
Copy link
Member

@vy vy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

Piotr P. Karwasz and others added 2 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.
@ppkarwasz ppkarwasz merged commit 9694b75 into apache:main Jan 5, 2024
@ppkarwasz ppkarwasz deleted the sync-to-jul branch January 5, 2024 16:22
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.

2 participants