Skip to content

Conversation

ramanathan1504
Copy link
Contributor

Cherry-pick #3874 (Remove jvmrunargs lookup) into main to resolve LOG4J2-3887

Important

Base your changes on main branch for this PR, since it targets the 3.x line.

Context

Checklist

✅ 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
    • To check formatting: ./mvnw spotless:check
    • To fix formatting: ./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

  • No additional tests are needed; the removal of jvmrunargs is already covered by existing tests.

📝 Changelog

  • Added a changelog entry in src/changelog/.3.x.x/3874_remove_jvmrunargs_lookup.xml reflecting removal of jvmrunargs lookup.

# Conflicts:
#	log4j-core-test/src/test/java/org/apache/logging/log4j/core/lookup/MainInputArgumentsJmxLookupTest.java
#	log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/JmxRuntimeInputArgumentsLookup.java
#	log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/package-info.java
#	src/changelog/.3.x.x/3874_remove_jvmrunargs_lookup.xml
Copy link
Contributor

@ppkarwasz ppkarwasz left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@ppkarwasz ppkarwasz enabled auto-merge (squash) August 21, 2025 20:15
@ppkarwasz ppkarwasz merged commit 3871c4c into apache:main Aug 21, 2025
6 of 7 checks passed
@github-project-automation github-project-automation bot moved this from To triage to Done in Log4j bug tracker Aug 21, 2025
@ramanathan1504
Copy link
Contributor Author

Thanks for reviewing and merging! I appreciate your guidance and support.

@ramanathan1504 ramanathan1504 deleted the issue-3887-clean branch August 22, 2025 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants