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

Chetan Mehrotra commented on SLING-3069:
----------------------------------------

bq. I would take logging level and additivity completely out of the appender 
service registration picture.

Makes sense ... keep things simple. You can manage logger level (additivity not 
supported currently) via creating config for pid 
{{org.apache.sling.commons.log.LogManager.factory.config}}. Would remove 
support for configuring logger attributes while registering the appenders. In 
worst case the Appenders can configure the Logger via {{LoggerContext}} in the 
start method
                
> 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