Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
Description
LoggerContext.reset() should execute this.name = null; or this.name = CoreConstants.DEFAULT_CONTEXT_NAME;.
Right now, an IllegalStateException("Context has been already given a name") is thrown whenever a context with an explicit name is reloaded/refreshed.
This contradicts the documentation of reset() at http://logback.qos.ch/apidocs/ch/qos/logback/classic/LoggerContext.html#reset%28%29