You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Chetan Mehrotra <ch...@gmail.com> on 2014/03/07 08:09:12 UTC

[ANN] Apache Sling Commons Log version 4.0.0 Released

The Apache Sling team is pleased to announce the release of Apache
Sling Commons Log version 4.0.0

Apache Sling is a web framework that uses a Java Content Repository,
such as Apache Jackrabbit, to store and manage content. Sling
applications use either scripts or Java servlets, selected based on
simple name conventions, to process HTTP requests in a RESTful way.

Sling Commons Log bundle provides logging support based on Logback in
OSGi env. Apart from default Logback feature set it enables extending
Logback via OSGi constructs

http://sling.apache.org/documentation/development/logging.html

This release is available from
http://sling.apache.org/site/downloads.cgi and Maven:

<dependency>
    <groupId>org.apache.sling</groupId>
    <artifactId>org.apache.sling.commons.log</artifactId>
    <version>4.0.0</version>
</dependency>

Release Notes:

Release Notes - Sling - Version Commons Log 4.0.0

** Bug
    * [SLING-3037] - IllegalArgumentException in logback Logger
    * [SLING-3045] - [logback]Warning logs logged for 'No appenders
present in context [sling] for logger'
    * [SLING-3047] - Log message from other loggers get added to error.log
    * [SLING-3069] - Allow attaching an Appender to a Logger without
changing its existing Log level
    * [SLING-3185] - ClassCastException in o.a.s.commons.log's
LogbackManager at bundle activation
    * [SLING-3189] - LogbackManager causes lockup on second startup
    * [SLING-3258] - [regression] Sling log support webconsole no
longer links to logger configurations
    * [SLING-3344] - log bundle is too conservative in exporting logback
    * [SLING-3364] - All rotated log files are not made part of the
zip provided through webconsole

** Improvement
    * [SLING-2024] - Replace file logger with logback
    * [SLING-2897] - [LOG] Enhance web console plugin with edit feature
    * [SLING-3242] - Allow refering to OSGi appenders from within Logback config
    * [SLING-3251] - Enable Logback ChangeLevelDispatcher by default
if JUL Integration is enabled
    * [SLING-3257] - Make logback packaging data in stacktraces configurable
    * [SLING-3275] - Add Buffered Logging Configuration in "Apache
Sling Logging Logger"
    * [SLING-3363] - Make Logback status part of Configuration Printer output
    * [SLING-3410] - Log the Logback initialization related logs to
normal log for transient errors
    * [SLING-3411] - Enable configuring the maxCallerDataDepth in
Logback LoggerContext

** New Feature
    * [SLING-2588] - Add support for slf4j MDC in log message
    * [SLING-3060] - Enable Logback to use OSGi services for Filters
and TurboFilters

** Task
    * [SLING-3252] - Remove checked in Logback related classes before
4.x release

Enjoy!

-The Sling team