Skip to content

Release 8.9.4

Compare
Choose a tag to compare
@zolyfarkas zolyfarkas released this 24 Nov 19:42
· 106 commits to master since this release

This release improves the included SLF4JBridgeHandler which allows you to bridge java.util.logging to SLF4J logging.
The changes will transform a java.text.MessageFormat into the equivalent SLF4J format, resulting in format + parameters to reach the Slf4j backends even if logging was made with java.util.Logging. This is important if you choose like I do to persist logs into a binary file, and choose not to store the interpolated string and instead store the format string and the parameters. (and interpolate at display time instead). There are a lot of advantages to this, like improved data analysis capabilities (like group by message format, or group by one of the arguments in the message format without the need to parse a formatted message). Another advantage is that you don't pay the message interpolation cost in your system, and you only pay it for the messages you choose to look at... which is 0.00001 of the messages in your log. (This is demonstrated in https://github.com/zolyfarkas/jaxrs-spf4j-demo)

Starting with this release, sp4j-slf4j-test will dump details on non-daemon threads that are still running at the end of your test process. This will help you find out what threads are not terminated in your shutdown handlers.

This release also updates several dependencies.