Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.17.2
-
None
Description
JULLogger.getLevel() fails with a NullPointerException if the JUL root logger has a null level. This is a common situation in JDK 8+, since LogManager$RootLogger does not set the log level any more in its constructor.
A practical example where it fails is Tomcat's ClassLoaderLogManager: cf. BZ 66184.