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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13761813#comment-13761813 ] 

Amit Gupta commented on SLING-3047:
-----------------------------------

I have applied the patch At revision: 1521082.

Thanks Chetan.

                
> 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