Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 23, 2025

Bumps org.apache.logging.log4j:log4j-bom from 2.24.3 to 2.25.2.

Release notes

Sourced from org.apache.logging.log4j:log4j-bom's releases.

2.25.2

This patch release addresses certain minor issues detailed in the changelog.

Fixed

  • Fix potential memory leak involving LogBuilder in Log4j API to Logback bridge (#3819, #3824)
  • Prevent unnecessary warnings in AbstractDriverManagerConnectionSource (#3828, #3831)
  • Fix missing newlines in default logging configuration for log4j-core (#3835, #3851)
  • Fix missing default Target value in Console Appender (#3852)
  • Discard the sub-second part while obtaining the initial time (i.e., creation time) of a file in RollingFileManager (#3068, #3872)
  • Fix Pattern Layout exception stack trace converters to no longer prepend newlines based on context (#3873, #3919)
  • Fix the com.google.errorprone:error_prone_annotations dependency whose version property gets erased due to flattening (#3779, #3785, #3822, #3905)
  • Fix detection of Throwable converters inside nested Pattern Layout patterns when applying alwaysWriteExceptions (#3920)
  • Fix parsing and merging of literals in InstantPatternDynamicFormatter (#3930, #3932)

2.25.1

This patch release addresses a dozen bugs in version 2.25.0, in particular:

  • Resolves a concurrency issue in the new unified datetime formatter.
  • Fixes build failures affecting Gradle users.
  • Restores backward compatibility with Spring Boot’s common logging configuration.
  • Improves handling of edge cases in GraalVM support.

Fixed

  • Fix detection of the Disruptor major version in environments with non-standard thread context classloader. (#3706)
  • Downgrade spotbugs-annotations to resolve Gradle build failures. (#3754)
  • Fix incorrect version resolution of jspecify and error_prone_annotations dependencies in published POM files. (#3758, #3779)
  • Restore compatibility with Spring Boot by allowing reconfiguration using the LoggerContext.start method. (#3770)
  • Allow omission of the -Alog4j.graalvm.groupId and -Alog4j.graalvm.artifactId arguments when building Log4j plugins. (#3771)
  • Broaden the OSGi manifest's Import-Package constraints to support Jakarta Servlet API up to version 6. (#3787)
  • Enable the resource: protocol for configuration files by default when running on GraalVM. (#3790)
  • Fix timestamp formatting concurrency issue, when log4j2.enabledThreadlocals is true. (#3792)
  • Fix GraalVM reachability metadata generation for methods with annotated array type parameters, such as @Nullable String[]. (#3796)
  • Resolve PropertiesConfiguration compatibility issues with GraalVM and address additional minor reflection-related problems. (#3800)

2.25.0

This minor release introduces bug fixes, behavior improvements, and complete support for GraalVM native image generation.

GraalVM Reachability Metadata

Log4j Core and all extension modules now include embedded
GraalVM reachability metadata,
enabling seamless generation of native images with GraalVM out of the box—no manual configuration required.
For more information, refer to our GraalVM guide.

[!NOTE]
When building third-party Log4j plugins, using the new GraalVmProcessor
introduced in version 2.25.0 will automatically generate the required reachability metadata for GraalVM native images.
However, the processor will fail the build if the required log4j.graalvm.groupId and log4j.graalvm.artifactId parameters are not provided.

... (truncated)

Commits
  • 6923bd9 Release changelog for version 2.25.2
  • 4822ede Update the project.build.outputTimestamp property
  • 380b9f2 Prepare the changelog
  • 63e1812 Fix parsing and merging of literals in InstantPatternDynamicFormatter (#3932)
  • 94fc126 Recognize nested converters in alwaysWriteExceptions (#3920)
  • 427fa60 doc: clarify %ex whitespace behavior across versions (#3918)
  • 4ed5a1e fix: make %ex behavior context-independent (#3919)
  • 7268f03 Update the project.build.outputTimestamp property
  • 5a71c91 Prepare the changelog
  • 3a57060 DefaultLayout: Append a newline to the serialized LogEvent (#3851)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.apache.logging.log4j:log4j-bom](https://github.com/apache/logging-log4j2) from 2.24.3 to 2.25.2.
- [Release notes](https://github.com/apache/logging-log4j2/releases)
- [Changelog](https://github.com/apache/logging-log4j2/blob/2.x/RELEASE-NOTES.adoc)
- [Commits](apache/logging-log4j2@rel/2.24.3...rel/2.25.2)

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-bom
  dependency-version: 2.25.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants