Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.0.13
-
None
Description
I'm attempting to reset a logger back to it's default, inherited level by passing in null but it throws an exception in the jul.LevelChangePropagator:
<!-- install a level change propagator - only needed for jul to logback --> <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator" />
java.lang.NullPointerException ch.qos.logback.classic.jul.JULHelper.asJULLevel(JULHelper.java:35) ch.qos.logback.classic.jul.LevelChangePropagator.propagate(LevelChangePropagator.java:66) ch.qos.logback.classic.jul.LevelChangePropagator.onLevelChange(LevelChangePropagator.java:57) ch.qos.logback.classic.LoggerContext.fireOnLevelChange(LoggerContext.java:306) ch.qos.logback.classic.Logger.setLevel(Logger.java:175)
Attachments
Issue Links
- is duplicated by
-
LOGBACK-758 NPE in JULHelper.asJULLevel() when setting a level back to null
- Closed