The Apache Log4j team is pleased to announce the `2.25.4`
release. Apache Log4j is a versatile, industrial-strength
Java logging framework composed of an API, its implementation,
and components to assist the deployment for various use cases.
For further information (support, download, etc.) see the project
website:

https://logging.apache.org/log4j/2.x/index.html

## Release Notes

This patch release delivers fixes for configuration inconsistencies and
formatting issues across several layouts.

* Restores alignment between documented and actual configuration attributes.
* Fixes formatting and sanitization issues in XML and RFC5424 layouts.
* Improves handling of invalid characters and non-standard values.

The authoritative list of recognized configuration attributes is
available in the plugin reference:

https://logging.apache.org/log4j/2.x/plugin-reference.html

### Fixed

* Don't issue warnings if extra argument in parameterized logging is
`null`. (#3975, #4014)
* Restore support for documented `Rfc5424Layout` parameter names.
(#4022, #4074)
* Take `Throwable#toString()` into account while rendering stack traces
in Pattern Layout. (#3623, #4033)
* Added debug level logs for successful resource loading in `Loader`
class. (#4058, #4060)
* Align `SslConfiguration` factory method usage with Log4j 2.12+ API.
The `verifyHostname` attribute is now correctly recognized. (#4061, #4075)
* Fix sanitization of structured data parameter names in RFC5424 layout.
(#4073)
* Replace invalid characters in XmlLayout output with the Unicode
replacement character (U+FFFD). (#4077)
* Replace invalid characters in Log4j1XmlLayout output with the Unicode
replacement character (U+FFFD). (#4078)
* Replace invalid characters in MapMessage.asXml() output with the
Unicode replacement character (U+FFFD). (#4079)
* Write non-finite floating-point numbers as strings in `JsonWriter`.
(#4080)

Reply via email to