Details
-
Bug
-
Resolution: Fixed
-
Critical
-
0.9.9
-
None
-
None
-
Eclipse 3.4, Java 5, Tomcat 5.5.26, plain JSP (no servlet)
Description
Hi,
loggerContext in the Logger class is null after container restart. This will produce a NPE when trying to further use logback.
java.lang.NullPointerException
at ch.qos.logback.classic.Logger.callTurboFilters(Logger.java:775)
at ch.qos.logback.classic.Logger.isDebugEnabled(Logger.java:630)
at ch.qos.logback.classic.Logger.isDebugEnabled(Logger.java:613)
at test.LogbackTest.testLogger(LogbackTest.java:15)