mirror of https://github.com/apache/lucene.git
Return Level.OFF is log level is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@683672 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
495e372bd5
commit
662980fd8a
|
@ -233,7 +233,7 @@ public final class LogLevelSelection extends HttpServlet {
|
|||
level = l;
|
||||
}
|
||||
}
|
||||
return level;
|
||||
return level != null ? level : Level.OFF;
|
||||
}
|
||||
|
||||
private static class LogWrapper
|
||||
|
|
Loading…
Reference in New Issue