You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/11/20 07:59:21 UTC

[jira] [Created] (SLING-3251) Enable Logback ChangeLevelDispatcher by default if JUL Integration is enabled

Chetan Mehrotra created SLING-3251:
--------------------------------------

             Summary: Enable Logback ChangeLevelDispatcher by default if JUL Integration is enabled
                 Key: SLING-3251
                 URL: https://issues.apache.org/jira/browse/SLING-3251
             Project: Sling
          Issue Type: Improvement
          Components: Commons
         Environment: With Logback its possible to use ChangeLevelDispatcher [1] to minimize the performance impact. Currently one needs to explicitly enable in logback.xml via

{code:xml}
<configuration>
  <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/>
</configuration>
{code}

It would be better if Logback Integration logic adds this listener on its own if the {{org.apache.sling.commons.log.julenabled}} is set to true without requiring explicit user effort to tweak Logback xml config

[1] http://logback.qos.ch/manual/configuration.html#LevelChangePropagator
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
            Priority: Minor






--
This message was sent by Atlassian JIRA
(v6.1#6144)