NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central
The Apache Log4j Script Engine Support
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 6 months
Unknown
no stable releases
Nothing withdrawn
no release was ever pulled
3 years old
4 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Remove deprecated org.apache.logging.log4j.core.appender.rolling.action.Duration class.
This release terminates the modularization process of Log4j Core, by moving all the code that uses optional log4j-core dependencies into new modules:
DisruptorBlockinQueue queue factory has been moved to a new log4j-conversant artifact.log4j-compress artifact.
The Gzip and Zip formats are still supported out-of-the-box.log4j-bom to always use the compatible version of the logging bridges.useFqdn configuration attribute to RFC5424 Layout. (#1740)log4j-jdbc to a new log4j-jdbc-jndi module (#1914)log4j-compress module. (#2921)DisruptorBlockingQueue plugin to new log4j-conversant module. (#2914)JAnsiTextRenderer to work without JAnsi library. (#2916)UNIX and UNIX_MILLIS (#3150)ThrowableProxy and its usages (#3047)log4j-bom.org.apache.logging.log4j.core.appender.rolling.action.Duration class.log4j-1.2-api module (#2621)log4j-iostreams module (#2630)apache/logging-parent to version `` (#2598)com.fasterxml.jackson:jackson-bom to version 2.18.1 (#3136)io.fabric8:docker-maven-plugin to version 0.45.1 (#3036)org.apache.commons:commons-compress to version 1.27.1 (#2870)org.apache.commons:commons-csv to version 1.12.0 (#3020)org.apache.commons:commons-dbcp2 to version 2.12.0 (#2342)org.apache.logging.log4j:log4j-api to version 2.24.1 (#3035)org.jctools:jctools-core to version 4.0.5 (#2638)org.jspecify:jspecify to version 1.0.0 (#2750)org.mongodb:bson to version 5.2.1 (#3179)org.springframework.boot:spring-boot-autoconfigure to version 3.3.5 (#3120)org.springframework.cloud:spring-cloud-context to version 4.1.4 (#2733)org.springframework:spring-framework-bom to version 6.1.14 (#3102)Your coding agent can read these notes before it upgrades. Set up the MCP server →
This release provides a continuation of the modularization process of Log4j Core.
This release provides a continuation of the modularization process of Log4j Core.
The following features were moved to separate artifacts:
log4j-async-logger and it was upgraded to use LMAX Disruptor 4.x. The async appender is still available by default in log4j-core.log4j-config-yaml.jackson-dataformat-properties in a new log4j-config-properties artifact.Other features were removed:
log4j-appserver with log4j-slf4j2-impl.commons-logging to version 1.3.0 or later and remove log4j-jcl.ConfigurationExtension mechanism to allow third-party JARs to extend the <Configuration> element.jackson-dataformat-properties.FormattedMessage formatters. Messages are evaluated using java.util.Format only if they don't comply to the java.text.MessageFormat or ParameterizedMessage format. (#1223)log4j-async-logger module.log4j-config-yaml module.collectionSize (#1747)JdkMapAdapterStringMap as frozen if map is immutable. (#2098)JdkMapAdapterStringMap performance. (#2238)CloseableThreadContext. (#1426)RollingFileManager. (#1645)log4j-spring-cloud-config-client dependencies to include only those required. (2157)log4j-slf4j-impl and log4j-mongodb3. (#2065)2.x properties configuration factory.DefaultLogEventFactorylog4j-appserver module (#2257)org.apache.logging.log4j.core.parser and related packages. (#2154)log4j-jcl module (#2257)log4j-layout-jackson module (#2198)log4j-layout-jackson-xml module (#2198)log4j2.enable.threadlocals property (#2105)com.fasterxml.jackson:jackson-bom to version 2.16.1 (#2127)commons-codec:commons-codec to version 1.16.1 (#2276)io.netty:netty-bom to version 4.1.107.Final (#2283)org.apache.logging:logging-parent to version 10.6.0 (#2193)org.apache.tomcat:tomcat-juli to version 10.1.18 (#2176)org.eclipse.jetty:jetty-bom to version 9.4.54.v20240208 (#2285)org.jctools:jctools-core to version 4.0.3 (#2267)org.slf4j:slf4j-api to version 2.0.10 (#2136)org.springframework.boot:spring-boot-autoconfigure to version 3.2.2 (#2222)org.springframework.cloud:spring-cloud-context to version 4.1.1 (#2236)org.springframework:spring-framework-bom to version 6.1.4 (#2294)Remove deprecated code. (LOG4J2-2493)
This is the first beta release of the upcoming major release, i.e., 3.0.0.
Optional<T>, Collection<T>, Set<T>, Stream<T>, List<T>, and Map<String, T>. (LOG4J2-3496)ConstraintValidator in plugin classes. (LOG4J2-3497)synchronized blocks with locks for improved performance with virtual threads. (#1532)isFiltered checks in AsyncLoggerConfig. (#1550)com.lmax:disruptor to version 4.0.0 (#1829)actions/checkout to version 4.1.1 (#1869)actions/setup-java to version 3.13.0 (#1809)actions/setup-python to version 4.7.1 (#1831)ch.qos.logback:logback-classic to version 1.4.14 (#2028)com.datastax.cassandra:cassandra-driver-core to version 3.11.5 (#1889)com.fasterxml.jackson:jackson-bom to version 2.16.0 (#1974)com.github.luben:zstd-jni to version 1.5.5-11 (#2032)com.github.spotbugs:spotbugs-maven-plugin to version 4.7.3.6 (#1879)com.github.tomakehurst:wiremock-jre8 to version 2.35.1 (#1765)com.google.code.java-allocation-instrumenter:java-allocation-instrumenter to version 3.3.4 (#2102)com.google.errorprone:error_prone_core to version 2.23.0 (#1871)com.google.guava:guava-testlib to version 32.1.3-jre (#1934)com.h2database:h2 to version 2.2.224 (#1917)commons-codec:commons-codec to version 1.16.0 (#2054)commons-io:commons-io to version 2.15.1 (#2035)commons-logging:commons-logging to version 1.3.0 (#2046)de.flapdoodle.reverse:de.flapdoodle.reverse to version 1.7.2 (#2000)io.netty:netty-bom to version 4.1.104.Final (#2097)net.java.dev.jna:jna to version 5.14.0 (#2082)org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle to version 1.3.7 (#2053)org.apache.commons:commons-compress to version 1.25.0 (#2055)org.apache.commons:commons-csv to version 1.10.0 (#2041)org.apache.commons:commons-dbcp2 to version 2.11.0 (#2044)org.apache.commons:commons-lang3 to version 3.14.0 (#2036)org.apache.commons:commons-pool2 to version 2.12.0 (#2038)org.apache.groovy:groovy-bom to version 4.0.16 (#2039)org.apache.maven:maven-core to version 3.9.6 (#2049)org.apache.maven.surefire:surefire-junit47 to version 3.2.3 (#2091)org.apache.tomcat:tomcat-juli to version 10.1.17 (#2086)org.codehaus.plexus:plexus-utils to version 3.5.1 (#2061)org.eclipse.jetty:jetty-bom to version 9.4.53.v20231009 (#1931)org.eclipse.persistence:org.eclipse.persistence.jpa to version 2.7.13 (#1933)org.eclipse.platform:org.eclipse.osgi to version 3.18.600 (#2064)org.elasticsearch.client:elasticsearch-rest-high-level-client to version 7.17.16 (#2085)org.graalvm.truffle:truffle-api to version 23.1.1 (#1872)org.jctools:jctools-core to version 4.0.2 (#1995)org.jmdns:jmdns to version 3.5.9 (#2069)org.junit:junit-bom to version 5.10.1 (#1993)org.junit-pioneer:junit-pioneer to version 2.2.0 (#1986)org.mockito:mockito-bom to version 5.8.0 (#2031)org.mongodb:bson to version 4.11.1 (#1991)org.springframework.boot:spring-boot to version 2.7.17 (#1902)org.springframework.boot:spring-boot-dependencies to version 2.7.18 (#2002)org.springframework:spring-framework-bom to version 5.3.30 (#1903)org.springframework:spring-test to version 5.3.31 (#1992)org.xerial.snappy:snappy-java to version 1.1.10.5 (#1877)org.zeromq:jeromq to version 0.5.4 (#1888)uk.org.webcompere:system-stubs-core to version 2.1.5 (#2001)GelfLayout (a GELF-compatible layout is still possible using JSON Template Layout) (#1951)log4j-cassandra (#1951)log4j-couchdb (#1951)log4j-jakarta-jms, log4j-jakarta-smtp, and log4j-jakarta-web) to their own repository and website (#1966)log4j-jms, log4j-jpa, log4j-smtp, log4j-web (#1966)log4j-jeromq module (users are recommended to migrate to loghublog4j2) (#1951)log4j-kafka (#1951)log4j-layout-jackson-json module (it is superseded by JSON Template Layout) (#1951)log4j-layout-jackson-yaml module (#1951)ServiceLoader mechanism should be used instead.log4j-mongodb3 module (#1951)SecurityManager. Starting in Java 21, a custom SecurityManager cannot be used.log4j-spring-boot module (its features are upstreamed to org.springframework.boot:spring-boot-starter-log4j2) (#1951)toLowerCase/toUpperCase calls. (#1281)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)Log4jEventBuilder by implementing CallerBoundaryAware. (#1533)Log4jServletContextListener is executed. (#1782)<AsyncLogger> components are used with an all async logger context. (#1786)Nothing published for this version
One column per quarter.