You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/09/09 13:40:51 UTC

[jira] [Updated] (SLING-3047) Log message from other loggers get added to error.log

     [ https://issues.apache.org/jira/browse/SLING-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra updated SLING-3047:
-----------------------------------

    Attachment: SLING-3047.patch

Patch which sets the additivity to false for loggers which have appenders explicitly defined
                
> Log message from other loggers get added to error.log
> -----------------------------------------------------
>
>                 Key: SLING-3047
>                 URL: https://issues.apache.org/jira/browse/SLING-3047
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons Log 4.0.0
>            Reporter: Chetan Mehrotra
>            Priority: Minor
>              Labels: logback
>         Attachments: SLING-3047.patch
>
>
> With new Logback based Log the error message for other categories like "log.request" get added to error.log. This is happening because by default Logback Loggers have additivity [1] set to true. For compatibility purpose the additivity for Loggers configured vis OSGi config must be set to false
> [1] http://logback.qos.ch/manual/architecture.html#additivity

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira