ContextBase[FromLogback1.2.3],The reset method should not call propertyMap.clear(); otherwise the properties of the application configuration no longer exist when the logback.xml change and reload by the monitor, such as ReconfigureOnChangeTask#performXMLConfiguration public void reset() { removeShutdownHook(); getLifeCycleManager().reset(); propertyMap.clear(); objectMap.clear(); } should be changed to public void reset() { removeShutdownHook(); getLifeCycleManager().reset(); objectMap.clear(); } |