Skip to content

Log4j Core Upgrade#2833

Draft
deleonenriqueta wants to merge 3 commits intomainfrom
log4j-dep-upgrade
Draft

Log4j Core Upgrade#2833
deleonenriqueta wants to merge 3 commits intomainfrom
log4j-dep-upgrade

Conversation

@deleonenriqueta
Copy link
Copy Markdown
Contributor

Description

Upgrade log4j-core from 2.17.1 to 2.25.3

Changes

  • Added dependency exclusions for new transitive dependencies:
    • org.jspecify
    • aQute
  • Removed service file exclusion (META-INF/services/org.apache.logging.*)
    • Required for log4j 2.25.3 compatibility (build fails without them)
    • ShadowJar automatically relocates path and class references

Testing

  • builds successfully
  • all logging tests pass
  • ran with spring-petclinic (modified to use log4j), no reported exceptions or classpath conflicts

Resolves #2691

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.65%. Comparing base (acfd226) to head (6bdd9a0).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2833      +/-   ##
============================================
- Coverage     70.68%   70.65%   -0.03%     
+ Complexity    10626    10620       -6     
============================================
  Files           881      881              
  Lines         42913    42913              
  Branches       6486     6486              
============================================
- Hits          30332    30321      -11     
- Misses         9665     9671       +6     
- Partials       2916     2921       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Upgrade Log4JCore to 2.25.3

2 participants