Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Commons Log 4.0.0
-
None
Description
With Logback its possible to use ChangeLevelDispatcher [1] to minimize the performance impact. Currently one needs to explicitly enable in logback.xml via
<configuration> <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/> </configuration>
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