ch.qos.logback:logback-examples
1.6.3
#995 most downloaded on Maven Central
qos-ch/logback
What this package is like to depend on
Last release 9 days ago
15 Aug 2026
Ships unpredictably
gaps range from 8 days to 2.6 years
Rarely documented
notes for 8 of 85 stable releases
Nothing withdrawn
no release was ever pulled
20 years old
90 releases · first in 2006
8 releases in the last 12 months
see the full history below
Release timeline
90 releases · Nov 2006 to Aug 2026Releases
latest 60 of 90-
1.6.315 Aug 2026Release notes
Open source →2026-08-14 Release of logback version 1.6.3
-
In response CVE-2026-19880,
MDCBasedDiscriminator(used bySiftingAppender) now strips forward and backward slashes (/,\) from MDC values before they are used as discriminating keys. This prevents path segments from escaping into destinations controlled by an attacker. When sanitisation actually changes a value, a warning is emitted; the warning is rate-limited (a small batch, then a lull of about ten minutes). -
Colour console support is split out into a dedicated
JansiConsoleAppender. It wraps stdout or stderr with Jansi so ANSI escape sequences (for example coloured patterns) render correctly on terminals that need it, notably Windows. Prefer this class over the older path described next. See the appenders documentation. -
The
withJansiproperty onConsoleAppenderis deprecated. Existing configurations that still set<withJansi>true</withJansi>continue to work for compatibility, but new setups should useJansiConsoleAppenderinstead. -
ConsoleAppenderno longer treats the process console as an exclusive resource: stopping it does not closeSystem.out/System.err.JansiConsoleAppenderpairs eachAnsiConsole.systemInstall()withsystemUninstall()on stop, so repeated start/stop cycles do not leave Jansi installed or tear down streams shared with the rest of the JVM. Related behavior is covered by tests for issues/1063. -
Invocation throttling helpers were reworked:
SimpleInvocationGateis renamedFixedIntervalInvocationGate, andBatchedFixedIntervalInvocationGateallows a short burst of invocations before applying a fixed lull. The sanitisation
warning above uses the batched gate. -
The JPMS
module-infofor logback-core now exports thech.qos.logback.core.propertypackage, which had been missing from the module descriptor. -
A bit-wise identical binary of this version can be reproduced by building from source code at commit
e8e824dede022a6d7208b36cfa875b0d1b7772f3associated with the tagv_1.6.3. The release was built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.
--
Sponsoring SLF4J/logback/reload4j at https://github.com/sponsors/qos-ch -
-
1.6.211 Aug 2026Release notes
clean.full.1.6.2.mp4Open source →2026-08-10 Release of logback version 1.6.2
-
Configuration analysis now detects contradictory caller-data inclusion instructions. For example, an
AsyncAppender,SocketAppenderorSMTPAppenderwithincludeCallerDataleft at the defaultfalseis incompatible with a layout or encoder pattern that uses a caller-data converter such as%C,%M,%L,%F,%lor%caller. At runtime those converters would print question marks and still incur extraction cost on a worker thread. Logback now emits a configuration-time warning when such instructions disagree. See codes.html#callerContradiction for details. This issue was reported in issues/1059 by leeychee. The initial analysis was contributed by seonwoo_jung. -
Caller-contradiction analysis can be turned off by setting the
logback.skipCallerContradictionAnalysisvariable totrue, either as a system property (-Dlogback.skipCallerContradictionAnalysis=true) or as a property in the configuration file:<property name="logback.skipCallerContradictionAnalysis" value="true"/>
-
SimpleSocketServerandSimpleSSLSocketServernow require an explicit client IP whitelist. On the command line, pass one or more allowed addresses (single IPs or CIDR ranges) after the configuration file. An empty whitelist means no clients are accepted. When embedding the server programmatically, register allowed addresses withaddAllowedClientAddress(String)orsetAllowedClientAddresses(Collection)before clients connect. See the documentation on restricting client access. -
Added
ThrowableProxyVOBuilderfor assembling aThrowableProxyVOfield by field, with a correspondingThrowableProxyVO.builder()entry point. -
Dependency analysis handlers now run their
postHandlemethod after child models have been processed, so checks that depend on nested appenders (such as caller-contradiction analysis) see a complete picture. -
Updated several dependencies, including Angus Mail to 2.0.4 and Jetty (test) to 12.1.12.
-
A bit-wise identical binary of this version can be reproduced by building from source code at commit e3d7833 associated with the tag
v_1.6.2. The release was built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.
-
-
1.6.128 Jul 2026Release notes
Open source →2026-07-28 Release of logback version 1.6.1
• In TimeBasedRollingPolicy, when the file option is set, the intermediate file renamed before asynchronous compression now receives the target archive name without the compression suffix (e.g.
.gz,.zip,.xz). Previously it used a nanotime-based.tmpsuffix. This makes the file easier to identify if compression fails during rollover. (See also the following paragraph.)• On GZ, ZIP, or XZ compression failure, the original (uncompressed) log file is no longer deleted. Compression strategies now delete the source file only after successful compression and emit a warning that the original was left intact.
• ConsoleAppender with now probes JLine's org.jline.jansi.AnsiConsole first and falls back to the legacy FuseSource org.fusesource.jansi.AnsiConsole class. This keeps ANSI coloring working after Jansi moved under the JLine project. The optional org.jline:jansi-core artifact is declared as a dependency alongside the existing FuseSource jansi dependency. A preferredJansiClassName property was added for tests. This issue was reported in issues/1043 by seonwoo_jung who also provided the relevant PR.
• LayoutWrappingEncoder now reports an error at start() when no layout is set and guards encode() against a null layout. Previously, a missing layout (for example after an ignored // branch) allowed the encoder to start and then fail with a NullPointerException on every event, resulting in silent log loss. This issue was reported in issues/1046 by seonwoo_jung who also provided the relevant PR.
• FileCollisionAnalyser now detects file collisions involving nested appenders of SiftingAppender. When the nested file or fileNamePattern does not textually reference the discriminator key (e.g. ${userId}), a warning is issued at configuration time naming the appender, the key, and the shared target. This closes a gap where statically declared file appenders were checked but sifted nested appenders were not. This enhancement was contributed in PR #1041 by seonwoo_jung.
• More defensive handling in SyslogOutputStream and SyslogAppenderBase: the close() method now ensures that resources are closed, writes and flushes check that the underlying resources are in a valid state and fallback to no-op otherwise.
• A bit-wise identical binary of this version can be reproduced by building from source code at commit 57759f4 associated with the tag v_1.6.1. The release was built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.
• See https://logback.qos.ch/news.html#1.6.1 for the original text.
-
1.6.023 Jul 2026Release notes
Open source →2026-07-23 Release of logback version 1.6.0
• Removed certain deprecated variables, methods, and classes. For the list of removed members see release_1.6.0.txt.
• In
AsyncAppenderBase, theput(ILoggingEvent)method now has the protected modifier to allow access from derived classes. This change was requested by Thomas Skjølberg in pr#1053.• Bump SLF4J dependency to version 2.0.18.
• See also the overview of the 1.6.x series.
• A bit-wise identical binary of this version can be reproduced by building from source code at commit b07adf3 associated with the tag v_1.6.0. The release was built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.
-
1.5.3809 Jul 2026Release notes
Open source →2026-07-09 Release of logback version 1.5.38
• In
HardenedObjectInputStream, fixed a typo preventingThrowableobjects from being white-filtered. This issue was reported in PR #1045 by t0rchwo0d.• A bitwise identical binary of this version can be reproduced by building from source code at commit d04984a associated with the tag v_1.5.38. Release built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.
-
1.5.3726 Jun 2026Release notes
Open source →2026-06-26 Release of logback version 1.5.37
- • Given the numerous vulnerabilities related to conditional configuration processing based on the evaluation of Java expressions using the Janino library, support for such expressions has been removed. Users are offered the an online migration service or the
<condition>element introduced in version 1.5.20. See the relevant documentation for more details.
• A bitwise identical binary of this version can be reproduced by building from source code at commit c1df7f5 associated with the tag v_1.5.37. Release built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.
- • Given the numerous vulnerabilities related to conditional configuration processing based on the evaluation of Java expressions using the Janino library, support for such expressions has been removed. Users are offered the an online migration service or the
-
1.5.3625 Jun 2026Release notes
Open source →2026-06-25 Release of logback version 1.5.36
• The 'condition' attribute in
<if>elements now reject certain references that are associated with ACE attacks. This issue was reported by "yulate" ([email protected]) and registered as CVE-2026-13006. Please note that version 1.5.37 provides the full fix to this vulnerability.• A bitwise identical binary of this version can be reproduced by building from source code at commit 9b94c37 associated with the tag v_1.5.36. Release built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.
-
1.5.3523 Jun 2026Release notes
Open source →026-06-23 Release of logback version 1.5.35
• The 'condition' attribute in
<if>elements now rejects unicode escape sequences (\u and \U). This closes a bypass of the existing prohibition on the new operator in Janino-evaluated conditions. This issue was reported by IcySun ([email protected]) and registered as CVE-2026-13006. Please note that version 1.5.37 provides the full fix to this vulnerability.• Added
ConfiguratorRank.AUTHENTICATING(rank 100), the highest configurator rank, for certified/authenticating configurators discovered via the ServiceLoader mechanism.ContextInitializernow requires that at most one such configurator exist on the classpath; if more than one is found, initialization aborts with an error.•
ConsoleCharsetPropertyDefineris no longer shipped. The Java 21 multi-release compilation of logback-core has been disabled, which removes this class from the published artifact. Configurations that referencedch.qos.logback.core.property.ConsoleCharsetPropertyDefinerwill need an alternative approach for console charset detection.• The logback-examples module is now included in artifacts published to Maven Central.
•
JoranConfigurator.makeAnotherInstance()andDefaultJoranConfigurator.performMultiStepConfigurationFileSearch()are now protected, allowing derived configurators to override these methods.• A bitwise identical binary of this version can be reproduced by building from source code at commit 08bd159 associated with the tag v_1.5.35. Release built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.
-
1.3.0-alpha411 Feb 2018 pre-releaseNothing published for this version
-
1.3.0-alpha310 Feb 2018 pre-releaseNothing published for this version
-
1.3.0-alpha230 Jan 2018 pre-releaseNothing published for this version
-
1.3.0-alpha129 Jan 2018 pre-releaseNothing published for this version
-
1.3.0-alpha018 Jan 2018 pre-releaseNothing published for this version
-
1.2.1301 Dec 2023Nothing published for this version
-
1.2.1223 Mar 2023Nothing published for this version
-
1.2.1105 Mar 2022Nothing published for this version
-
1.2.1023 Dec 2021Nothing published for this version
-
1.2.917 Dec 2021Nothing published for this version
-
1.2.814 Dec 2021Nothing published for this version
-
1.2.711 Nov 2021Nothing published for this version
-
1.2.609 Sep 2021Nothing published for this version
-
1.2.526 Jul 2021Nothing published for this version
-
1.2.4-groovyless22 Jul 2021Nothing published for this version
-
1.2.419 Jul 2021Nothing published for this version
-
1.2.331 Mar 2017Nothing published for this version
-
1.2.216 Mar 2017Nothing published for this version
-
1.2.109 Feb 2017Nothing published for this version
-
1.2.008 Feb 2017Nothing published for this version
-
1.1.1101 Mar 2017Nothing published for this version
-
1.1.1005 Feb 2017Nothing published for this version
-
1.1.920 Jan 2017Nothing published for this version
-
1.1.809 Dec 2016Nothing published for this version
-
1.1.729 Mar 2016Nothing published for this version
-
1.1.629 Feb 2016Nothing published for this version
-
1.1.513 Feb 2016Nothing published for this version
-
1.1.411 Feb 2016Nothing published for this version
-
1.1.324 Mar 2015Nothing published for this version
-
1.1.202 Apr 2014Nothing published for this version
-
1.1.105 Feb 2014Nothing published for this version
-
1.1.028 Jan 2014Nothing published for this version
-
1.0.1310 May 2013Nothing published for this version
-
1.0.1226 Apr 2013Nothing published for this version
-
1.0.1125 Mar 2013Nothing published for this version
-
1.0.1015 Mar 2013Nothing published for this version
-
1.0.904 Dec 2012Nothing published for this version
-
1.0.804 Dec 2012Nothing published for this version
-
1.0.723 Aug 2012Nothing published for this version
-
1.0.607 Jun 2012Nothing published for this version
-
1.0.505 Jun 2012Nothing published for this version
-
1.0.431 May 2012Nothing published for this version
-
1.0.303 May 2012Nothing published for this version
-
1.0.226 Apr 2012Nothing published for this version
-
1.0.107 Mar 2012Nothing published for this version
-
1.0.001 Nov 2011Nothing published for this version
-
0.9.3020 Sep 2011Nothing published for this version
-
0.9.2909 Jun 2011Nothing published for this version
-
0.9.2825 Jan 2011Nothing published for this version
-
0.9.2722 Dec 2010Nothing published for this version
-
0.9.2620 Oct 2010Nothing published for this version
-
0.9.2513 Oct 2010Nothing published for this version