Details
-
Bug
-
Resolution: Fixed
-
Major
-
0.9.11
-
None
-
None
Description
NullPointerException in JMX Configurator getLoggerLevel:
on line 111, logger.getLevel() can be null.
in ch.qos.logback.classic.jmx.Configurator, lines 110 - 114, replace
if (logger != null) {
return logger.getLevel().toString();
} else {
return EMPTY;
}
with
if (logger != null && logger.getLevel() != null) {
return logger.getLevel().toString();
} else {
return EMPTY;
}