Description of the patch:
This update for log4j fixes the following issues:
Security fixes:
- CVE-2025-68161: Fixed absent TLS hostname verification
that may allow a man-in-the-middle attack (bsc#1255427)
Other fixes:
- Upgrade to 2.18.0
- Added
- Add support for Jakarta Mail API in the SMTP appender.
- Add support for custom Log4j 1.x levels.
- Add support for adding and retrieving appenders in Log4j 1.x
bridge.
- Add support for custom LMAX disruptor WaitStrategy
configuration.
- Add support for Apache Extras' RollingFileAppender in Log4j
1.x bridge.
- Add MutableThreadContextMapFilter.
- Add support for 24 colors in highlighting
- Changed
- Improves ServiceLoader support on servlet containers.
- Make the default disruptor WaitStrategy used by Async Loggers
garbage-free.
- Do not throw UnsupportedOperationException when JUL
ApiLogger::setLevel is called.
- Support Spring 2.6.x.
- Move perf tests to log4j-core-its
- Upgrade the Flume Appender to Flume 1.10.0
- Fixed
- Fix minor typo #792.
- Improve validation and reporting of configuration errors.
- Allow enterprise id to be an OID fragment.
- Fix problem with non-uppercase custom levels.
- Avoid ClassCastException in JeroMqManager with custom
LoggerContextFactory #791.
- DirectWriteRolloverStrategy should use the current time when
creating files.
- Fixes the syslog appender in Log4j 1.x bridge, when used with
a custom layout.
- log4j-1.2-api 2.17.2 throws NullPointerException while
removing appender with name as null.
- Improve JsonTemplateLayout performance.
- Fix resolution of non-Log4j properties.
- Fixes Spring Boot logging system registration in a
multi-application environment.
- JAR file containing Log4j configuration isn’t closed.
- Properties defined in configuration using a value attribute
(as opposed to element) are…