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

Carsten Ziegeler commented on SLING-3069:
-----------------------------------------

I suggest to create three different service registration properties:
- logger name
- log level (optional) - defaults to empty value
- additive (optional) - defaults to true

If no log level is set, the log level of the logger is not changed at all
                
> 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
>
> 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