This release contains several small fixes and some dependency updates.
Changed
Improve performance of CloseableThreadContext#closeMap() (2296)
Fixed
Fix handling of LoggerContextAware lookups (2309)
Fix NPE in PatternProcessor for a UNIX_MILLIS pattern (2346)
Fix that parameterized message formatting doesn’t throw an exception when there are insufficient number of parameters (2343)
Fix StatusLogger log level filtering when debug mode is enabled (2337)
Add log4j2.StatusLogger.dateFormatZone system property to set the time-zone StatusLogger uses to format java.time.Instant. Without this, formatting patterns accessing to time-zone-specific fields (e.g., year-of-era) cause failures. (2322)
Fix StatusLogger to correctly read log4j2.StatusLogger.properties resource (2354)
Changed
Simplify BND configuration after upgrade from version 6.4.1 to 7.0.0
Deprecated
Deprecate the configuration attribute verbose (i.e., <Configuration verbose="…") and StatusConsoleListener filters (2226)
Deprecated the RingBufferLogEventHandler class for removal from the public API in 3.x
Fixed
Fix regression in JdkMapAdapterStringMap performance. (2238)
Fix the behavior of Logger#setLevel and Logger#getLevel in the Log4j 1.2 bridge. (2282)
Fix the behavior of CoreLogger#getLevel and CoreLogger#setLevel in the log4j-jul module. (2282)
Allow deserialization of all arrays of allowed classes. (LOG4J2-3680)
Allow the node to appear in any position in the configuration element.
Fix forgotten threadName field in RingBufferLogEvent#clear() (2234)
Fix StringBuilder cache corruption on recursive access
Fixed use of SecurityManager in LoaderUtil where AccessController::doPrivileged should only be invoked when a SecurityManager is installed. Some runtimes do not seem to have this method available. (2129)
Fix log4j-spring-cloud-config-client dependencies to include only those required. (2157)
Fix typo in Kubernetes clientKeyData configuration property.
Updated
Update com.fasterxml.jackson:jackson-bom to version 2.16.1 (2126)
Update commons-codec:commons-codec to version 1.16.1 (2277)
Update io.netty:netty-bom to version 4.1.107.Final (2284)
Update org.apache.logging:logging-parent to version 10.6.0 (2197)
Update org.eclipse.jetty:jetty-bom to version 9.4.54.v20240208 (2287)
Update org.jctools:jctools-core to version 4.0.3 (2270)
Update org.springframework:spring-framework-bom to version 5.3.32 (2293)
2.23.1 Release date 2024-03-06
This release contains several small fixes and some dependency updates.
Changed Improve performance of CloseableThreadContext#closeMap() (2296)
Fixed Fix handling of LoggerContextAware lookups (2309)
Fix NPE in PatternProcessor for a UNIX_MILLIS pattern (2346)
Fix that parameterized message formatting doesn’t throw an exception when there are insufficient number of parameters (2343)
Fix StatusLogger log level filtering when debug mode is enabled (2337)
Add log4j2.StatusLogger.dateFormatZone system property to set the time-zone StatusLogger uses to format java.time.Instant. Without this, formatting patterns accessing to time-zone-specific fields (e.g., year-of-era) cause failures. (2322)
Fix StatusLogger to correctly read log4j2.StatusLogger.properties resource (2354)
Fix stack overflow in StatusLogger (2322)
Updated Update jakarta.activation:jakarta.activation-api to version 2.1.3 (2335)
Update jakarta.mail:jakarta.mail-api to version 2.1.3 (2348)
Update org.apache.commons:commons-compress to version 1.26.0 (2304)
Update org.apache.commons:commons-dbcp2 to version 2.12.0 (2344)
Update org.apache.kafka:kafka-clients to version 3.7.0 (2326)
Update org.eclipse.angus:angus-activation to version 2.0.2 (2336)
Update org.eclipse.angus:jakarta.mail to version 2.0.3 (2349)
2.23.0 Release date 2024-02-17
This release adds support for LMAX Disruptor 4.x and several performance and bug fixes.
In order to maintain compatibility with JRE 8, support for LMAX Disruptor 3.x is maintained.
Added Added support for LMAX Disruptor 4.x (1821)
Changed Simplify BND configuration after upgrade from version 6.4.1 to 7.0.0
Deprecated Deprecate the configuration attribute verbose (i.e., <Configuration verbose="…") and StatusConsoleListener filters (2226)
Deprecated the RingBufferLogEventHandler class for removal from the public API in 3.x
Fixed Fix regression in JdkMapAdapterStringMap performance. (2238)
Fix the behavior of Logger#setLevel and Logger#getLevel in the Log4j 1.2 bridge. (2282)
Fix the behavior of CoreLogger#getLevel and CoreLogger#setLevel in the log4j-jul module. (2282)
Allow deserialization of all arrays of allowed classes. (LOG4J2-3680)
Allow the node to appear in any position in the configuration element.
Fix forgotten threadName field in RingBufferLogEvent#clear() (2234)
Fix StringBuilder cache corruption on recursive access
Fixed use of SecurityManager in LoaderUtil where AccessController::doPrivileged should only be invoked when a SecurityManager is installed. Some runtimes do not seem to have this method available. (2129)
Fix log4j-spring-cloud-config-client dependencies to include only those required. (2157)
Fix typo in Kubernetes clientKeyData configuration property.
Updated Update com.fasterxml.jackson:jackson-bom to version 2.16.1 (2126)
Update commons-codec:commons-codec to version 1.16.1 (2277)
Update io.netty:netty-bom to version 4.1.107.Final (2284)
Update org.apache.logging:logging-parent to version 10.6.0 (2197)
Update org.eclipse.jetty:jetty-bom to version 9.4.54.v20240208 (2287)
Update org.jctools:jctools-core to version 4.0.3 (2270)
Update org.springframework:spring-framework-bom to version 5.3.32 (2293)
Update org.zeromq:jeromq to version 0.6.0 (2271)