[logback-dev] Release of logback version 0.9.10

Ceki Gulcu listid at qos.ch
Mon Oct 27 21:49:03 CET 2008


27th of October 2008 - Release of version 0.9.10

After a lull of 7 months, I am happy to announce the release of
logback version 0.9.10. This version includes both bug fixes as well
as significant enhancements. Here is the list:

In case of errors during initialization, logback-classic now
automatically prints out its internal status. This has been a
frequently requested feature.

The LogbackValve in logback-access (ensuring integration with Tomcat),
will now systematically print its internal status upon initialization,
unless told to be quiet. This greatly helps troubleshooting the
configration of logback-access under Tomcat.

Fixed bug 147 which occured when the user inadvertently attempted to
set the layout of a SyslogAppender. The code now actively prevents
this. Documenation has been updated to reflect the change.

Fixed bug LBCLASSIC-56 originally reported by Michel
Colette. Backslash characters are now correctly interpreted in
filename patterns.

The TurboFilterChain in a LoggerContext is now cleared when the
shutdownAndReset method is called. This problem was reported on May
1st, 2008, by Julia Hu on the logback developpers list.

Fixed issue LBCORE-48. During rollover, compression of large files
would bring all logging to a halt. In this latest release, the rolled
over file is first renamed, which is a relatively fast operation, and
only then is the renamed file compressed asyncronously (in a separate
thread).

Fixed issue LBCORE-11. It is now possible to instruct
TimeBasedRollingPolicy to delete old files, thus controlling then
number of archived log files.

Fixed issue LBCORE-42. If the parent directory of the log file does
not exist, then FileAppender will create it, including any necessary
but nonexistent parent directories.

Fixed LBCORE-15 reported by Klaus Unger and others. DBAppender should
now work with Oracle 9, 10g and 11g, regardless of the JDBC driver
type used.

Fixed issue LBCORE-17 reported by Thorbjørn Ravn Andersen. Logback now
relies on Geronimo JMS API specifications instead of Sun's JMS API
specification, the latter requiring manual installation. With Geronimo
JMS, logback can be built using Maven without needing to manually
install any dependencies.

Fixed issue LBCORE-23. In PatternLayout, parenthesis can be used to
group conversion patterns. It follows that the '(' and ')' carry
special meaning and need to be escaped to be used as literals. This is
now properly documented.

The location of the default configuration file can be specified by a
system property. This feature was requested in LBCORE-32 by Ted
Graham, Matt Fowles, Ivan Biddles and Ralph Goers.

Fixed issue LBCORE-55 reported by Natan Cox. WriterAppender now
outputs its presentation footer and file footer in the the correct
order.

Fixed issue LBCORE-27 reported by Peter Royal. SMTPAppender now
outputs its presentation footer and file footer in the the correct
order.

Fixed issue LBCLASSIC-67 reported by Alessandro Fustini. SMTPAppender
now correctly configures the layout used to format the subject line of
the outgoing email. It no longer appends a lengthy stack trace to the
subject line.

Fixed issue LBCLASSIC-68 reported by Gili Tzabari. In environments
where the TCCL (Thread Context Class Laoder) was not set, logback was
unable to located its default configuraiton files. Logback now uses
the class loader that loaded logback itself to locate its resources
instead of the TCCL. This approach is simpler and deemed to cover more
environments, i.e. more widely applicable.

Fixed issue LBGENERAL-24 reported by Hung Tang. SMTPAppender now
supports plain username/password authentication as well as both the
STARTTLS command and SSL connections.

Fixed issue LBCLASSIC-48 reported by Peter Royal. SyslogAppender now
correctly outputs hours as 0-23 and not as 1-12 as previously.

Added a new TurboFilter called DynamicThresholdFilter which can filter
events depending on MDC values based on a variery of criteria such as
company name, product or the end user. This filter was contributed by
Ralph Goers in LBCLASSIC-53.

You can download logback, including full source code, class files and
documentation on our download page, shown below.

   http://logback.qos.ch/download.html

You can receive logback related announcements by subscribing to the
logback announce mailing list. To subscribe to logback-announce list,
please visit the following URL.

   http://qos.ch/mailman/listinfo/logback-announce

Enjoy,
-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the logback-dev mailing list