[ 
https://issues.apache.org/jira/browse/SLING-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768189#comment-13768189
 ] 

Felix Meschberger commented on SLING-3069:
------------------------------------------

>  In worst case the Appenders can configure the Logger via LoggerContext in 
> the start method

Yeah, even though I would not call that "good practice" because it violates the 
separation of concern principle. Appenders are just for appending log messages.
                
> Allow attaching an Appender to a Logger without changing its existing Log 
> level
> -------------------------------------------------------------------------------
>
>                 Key: SLING-3069
>                 URL: https://issues.apache.org/jira/browse/SLING-3069
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons Log 4.0.0
>            Reporter: Chetan Mehrotra
>            Priority: Minor
>              Labels: logback
>             Fix For: Commons Log 4.0.0
>
>
> Commons Log now supports attaching Appenders as OSGi services. Current 
> implementation while trying to attach appender also modifies the Log level to 
> INFO if none specified. It should be possible to attach an appender without 
> modifying the existing log level

--
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

Reply via email to