issue-3887-cherry-pick #1
Closed
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.
Cherry-pick apache#3874 (Remove
jvmrunargs
lookup) intomain
to resolve LOG4J2-3887Important
Base your changes on
main
branch for this PR, since it targets the 3.x line.Context
jvmrunargs
lookup is always empty apache/logging-log4j2#2726 removed the brokenjvmrunargs
lookup in 2.xjvmrunargs
lookup apache/logging-log4j2#3876 updated documentationjvmrunargs
lookup apache/logging-log4j2#3874 removed the lookup in 2.xjvmrunargs
lookup inmain
apache/logging-log4j2#3887 ensures the removal is applied to mainChecklist
✅ Required checks
License: I confirm that my changes are submitted under the Apache License, Version 2.0.
Commit signatures: All commits are signed and verifiable. (See GitHub Docs on Commit Signature Verification).
Code formatting: The code is formatted according to the project’s style guide.
How to check and fix formatting
./mvnw spotless:check
./mvnw spotless:apply
See the build instructions for details.
Build & Test: Verified that the project builds and all unit tests pass.
How to build the project
Run:
./mvnw verify
See the build instructions for details.
🧪 Tests
jvmrunargs
is already covered by existing tests.📝 Changelog
src/changelog/.3.x.x/3874_remove_jvmrunargs_lookup.xml
reflecting removal ofjvmrunargs
lookup.