Repository navigation
2026-11-19 Release of logback version 1.6.8
• JsonEncoder now always writes valid JSON, whatever the combination
of with* options. All strings, including logger names and stack
trace elements, are now escaped.
• In the output of JsonEncoder, null values are now written as
null instead of "null", and numeric and boolean arguments as
JSON numbers and booleans. Markers are written by name. Consumers
relying on the previous format may need to be updated.
• JsonEncoder admits the new withCallerData option, disabled by
default.
• The new JsonEventReader class reads the output of JsonEncoder
back into logging events. It accepts output written by logback
versions since 1.3.8 and adds no new dependency.
• Fixed KryoDecoder looping forever on certain damaged
streams. KryoDecoder can now start decoding at any epoch header
and stop early via decodeWhile.
• A bit-wise identical binary of this version can be reproduced by
building from source code at commit 2f625e4
associated with the tag v_1.6.8. The release was built using Java
"21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.