Download Latest Version 2.25.5 source code.zip (8.2 MB)
Email in envelope

Get an email when there's a new version of Apache Log4j

Home / rel_2.26.1
Name Modified Size InfoDownloads / Week
Parent folder
2.26.1 source code.tar.gz 2026-07-02 2.9 MB
2.26.1 source code.zip 2026-07-02 8.2 MB
README.md 2026-07-02 1.0 kB
Totals: 3 Items   11.1 MB 6

This patch release delivers certain fixes on top of 2.26.0.

Changed

  • Improve logging for LinkageError scenarios involving the LMAX Disruptor library (#2250, [#4124])

Fixed

  • Fix the createOnDemand behavior of RollingFileAppender to correctly defer file and directory creation until the first log event, while preserving eager creation when disabled. (#2006, [#4072])
  • Improve documentation for locale handling in the Pattern Layout date pattern converter (#4129, [#4130])
  • Fix handling of non-finite numbers while encoding MapMessage to JSON (#4163)
  • Fix encoding of MSGID and SD-ID fields of StructuredDataMessage to XML (#4136)
  • Fix stack trace rendering for exceptions with identity malfunction (e.g., colliding equals() and/or hashCode() implementations) (#3933, [#4133])
  • Fix resource leaks in ConfigurationSource when loading configuration via URL fails (#4127)
  • Fix KafkaAppender reporting error to error handler even after a successful retry (#4125)
Source: README.md, updated 2026-07-02