[improve][doc] Add breaking change note for JUL-to-Log4j2 bridge in 5.0.0-M2 - #1229
Merged
Merged
Conversation
Contributor
Author
|
Hi @lhotari , I've drafted a breaking change note for apache/pulsar#26330 in the 5.0.0-M2 release notes, covering the affected JUL APIs, migration guide, and revert instructions. Could you take a look and let me know if anything needs to be adjusted? Also, if it looks good, should we add the same note to the GitHub release page at https://github.com/apache/pulsar/releases/tag/v5.0.0-M2 as well? |
lhotari
reviewed
Sep 17, 2026
…r-side components only
lhotari
approved these changes
Sep 17, 2026
Contributor
Author
|
I've also added the same breaking change note to the GitHub release page. https://github.com/apache/pulsar/releases/tag/v5.0.0-M2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
PR #26330 bridges JUL (
java.util.logging) to Log4j2 in Pulsar 5.0.0-M2. This is a breaking change because existing JUL configurations and APIs (e.g.,-Djava.util.logging.config.file,Logger.setLevel(),Logger.addHandler()) will no longer take effect after the upgrade.The current 5.0.0-M2 release notes only list this PR under the
### Brokersection without highlighting the breaking nature of the change. Users upgrading to 5.0.0-M2 need a clear heads-up with migration guidance.Modifications
Added a
### Breaking changessection torelease-notes/versioned/pulsar-5.0.0-M2.md(betweenApproved PIPsandLibrary updates), including:conf/log4j2.yaml)PULSAR_EXTRA_OPTSto restore stock JUL behavior)Preview
✅ Contribution Checklist