NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central, #1232 by repository stars
Latest stable
2.22.0
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 9 months
Rarely documented
notes for 3 of 22 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
23 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
…that is, - -cyclonedx.xml. They contain vulnerability-assertion references to a CycloneDX Vulnerability Disclosure Report (VDR) that Apache Logging Se…
This releases provides a CycloneDX Software Bill of Materials (SBOM) along with each artifact and contains bug fixes addressing issues in the JPMS & OSGi infrastructure overhauled in 2.21.0, dependency updates, and some other minor fixes and improvements.
This is the first Log4j release that provides a CycloneDX Software Bill of Materials (SBOM) along with each artifact. Generated SBOMs are attached as artifacts with cyclonedx classifier and XML extensions, that is, <artifactId>-<version>-cyclonedx.xml. They contain vulnerability-assertion references to a CycloneDX Vulnerability Disclosure Report (VDR) that Apache Logging Services uses for all projects it maintains. This VDR is accessible through the following URL: https://logging.apache.org/cyclonedx/vdr.xml[]
SBOM generation is streamlined by logging-parent, see its website for details.
FormattedMessage formatters. Messages are evaluated using java.util.Format only if they don't comply to the java.text.MessageFormat or ParameterizedMessage format. (#1223)log4j2.configurationAuthorizationEncoding property to overwrite it. (#1970)com.fasterxml.jackson:jackson-bom to version 2.16.0 (#1974)com.github.luben:zstd-jni to version 1.5.5-10 (#1940)com.google.guava:guava to version 32.1.3-jre (#1875)io.netty:netty-bom to version 4.1.101.Final (#1960)org.eclipse.persistence:org.eclipse.persistence.jpa to version 2.7.13 (#1900)org.fusesource.jansi:jansi to version 2.4.1 (#1907)org.mongodb:bson to version 4.11.1 (#1957)org.springframework:spring-framework-bom to version 5.3.30org.springframework.boot:spring-boot to version 2.7.17 (#1874)org.springframework:spring-framework-bom to version 5.3.31 (#1973)org.zeromq:jeromq to version 0.5.4 (#1878)FastDateParser which was causing unnecessary heap overhead (LOG4J2-3672, #1848)%notEmpty (#1922)log4j-layout-template-json and log4j-1.2-api (#1895)spring-test dependency scope change (LOG4J2-3675)jlink issues (#1896)Implementation- and Specification- entries to MANIFEST.MF (implemented by logging-parent version 10.3.0 update) (#1923)NotSerializableException thrown when Logger is serialized with a ReusableMessageFactory (#1884)Your coding agent can read these notes before it upgrades. Set up the MCP server →
This patch release contains only the fix of a log4j-jcl bug that prevents it from connecting with commons-logging.
This patch release contains only the fix of a log4j-jcl bug that prevents it from connecting with commons-logging.
The Log4j 2.21.1 API, as well as the other artifacts, maintains binary compatibility with the previous release.
Apache Log4j 2.21.1 requires Java 8 to run. The build requires JDK 11 and generates reproducible binaries.
For complete information on Apache Log4j 2, including instructions on how to submit bug reports, patches, get support, or suggestions for improvement, see the Apache Log4j 2 website.
log4j-jcl. (#1865)This release primarily focuses on enhancements to our OSGi and JPMS support and contains several bug fixes. It will be the first release built and sig
This release primarily focuses on enhancements to our OSGi and JPMS support and contains several bug fixes. It will be the first release built and signed by the CI using the ASF Logging Services Release Manager GPG key, which is shared in KEYS.
The Log4j 2.21.0 API, as well as the other artifacts, maintains binary compatibility with the previous release.
Apache Log4j 2.21.0 requires Java 8 to run. The build requires JDK 11 and generates reproducible binaries.
For complete information on Apache Log4j 2, including instructions on how to submit bug reports, patches, get support, or suggestions for improvement, see the Apache Log4j 2 website.
All the published artifacts are OSGi bundles or fragments.
This release introduces a change in the bundle symbolic names to allow them to function as JPMS module name: all hyphens - present in the bundle names of previous releases were replaced by dots ..
All the published artifacts have been migrated from automatic modules to named JPMS modules. All packages marked as private in the Javadoc are not exported.
The module name of four bridges (log4j-slf4j-impl, log4j-slf4j2-impl, log4j-to-jul and log4j-to-slf4j) have been changed to adhere to the same convention as the OSGi bundle names.
JsonTemplateLayout (#1381)FileExtension methods to allow their usage in custom RolloverStrategys (#1365, #1683)minLevel and maxLevel of LevelRangeFilter to OFF and ALL, respectively (#1503)isFiltered checks in AsyncLoggerConfig (#1550)StackLocator (#1760)OsgiServiceLocator.loadServices(Class, Lookup, boolean) when a bundle has no valid BundleContext for a service typecom.datastax.cassandra:cassandra-driver-core to version 3.11.5 (#1591)org.mongodb:mongodb-driver-core to version 4.10.2 (#1591)io.netty:netty-bom to version 4.1.97 (#1591)log4j-jmx-gui to its own repository along with its own release cyclelog4j-to-slf4j to work with SLF4J 1 and 2. To achieve that used a version range of [1.7,3) for the imported SLF4J packages. (#1232)toLowerCase/toUpperCase calls (#1281)/<module>/apidocs URLs (broken in 2.20.0) to /javadoc/<module> (#1284)java.sql.Date objects by appending it before Log4J tries to call java.util.Date.toInstant() on it (#1366)log4j-api, log4j-core, log4j-slf4j-impl and log4j-slf4j2-impl to activate the bundle when it is accessed. To achieve that set the Bundle-ActivationPolicy to lazy for the log4j bundles. (#1367)StackTraceStringResolver of JsonTemplateLayout (#1380)connectionStringSource in MongoDb4Provider builder (#1389)PluginElementVisitor (#1391)columnType as alias for the column mapping type attribute (#1405)Log4jMarker visibility in SLF4J adapters (#1414)Log4jFixedFormatter date time formatter (#1418)RollingFileManager and FileRenameAction (#1445, #1549)RollingFileManager to propagate failed synchronous actions correctly (#1445)System.out in StackLocator for warnings with System.err (#1484)PatternLayout (#1485)Log4jEventBuilder by implementing CallerBoundaryAware (#1533)StackTraceElement on JDK 9+ (#1640)MemoryMappedFileAppender buffer unmapping on JRE 9+ (#1646)base64 lookup and improve the rest of the lookup manual (#1681, LOG4J2-3504)LocationAware for JsonTemplateLayout, since this was causing location not being passed to underlying appenders (#1692)long values in MongoDb 4 appender to configure collectionSize (#1747)Log4jServletContextListener is executed (#1782)<AsyncLogger> components are used with an all async logger context (#1786)JsonTemplateLayout NPE thrown on custom log levels (#1805)Log4j-config.xsd schema LOG4J2-170ContextSelector (LOG4J2-3217, #1538)ThreadLocals in AbstractLogger when they are disabled, since this was causing memory leaks due to retained reference to class loaders in web applications LOG4J2-3657%notEmpty directive of PatternLayout for empty MDC/NDC inputs LOG4J2-3660FileOutputStream is closed in CommonsCompressAction.execute()Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.