Chetan Mehrotra created SLING-4907:
--------------------------------------

             Summary: Provide support for registering Filter with all 
configured appenders
                 Key: SLING-4907
                 URL: https://issues.apache.org/jira/browse/SLING-4907
             Project: Sling
          Issue Type: Improvement
          Components: Commons
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
             Fix For: Commons Log 4.0.4


Current Logback support provides support for registering {{Filter}} as OSGi 
services [1]. This only supports registering against known appenders. 

If we need to have a logic which needs to handle/listen to all WARN and above 
log messages that needs to get logged then only way for now is to register a 
{{TurboFilter}} which has performance cost. To support such cases the 
{{Filter}} support should enable registering a Filter instance against all 
configured appenders. This would allow such a Filter to listen to all logged 
messages without the performance cost

[1] 
https://sling.apache.org/documentation/development/logging.html#filters-as-osgi-services



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to