Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
Description
If I use the new LevelChangePropagator (since 0.9.25) with a LOGBack-Level set to OFF, an IllegalArgumentException will be thrown by ch.qos.logback.classic.jul.JULHelper.asJULLevel(Level lbLevel), which causes my RCP application to crash on startup. As the OFF-Level is supported by both LOGBack and JUL, please add a corresponding mapping in that method.
case Level.OFF_INT:
return java.util.logging.Level.OFF;
My current workaround is to completely rewrite the LevelChangePropagator class in a LOGBack-Groovy-Configuration.