Package ch.qos.logback.classic.joran
Class ReconfigureOnChangeTask
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.classic.joran.ReconfigureOnChangeTask
- All Implemented Interfaces:
ContextAware,Runnable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) longstatic final String(package private) static final String(package private) List<ReconfigureOnChangeTaskListener> (package private) static final StringFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddListener(ReconfigureOnChangeTaskListener listener) private voidfallbackConfiguration(LoggerContext lc, List<SaxEvent> eventList, URL mainURL) private voidprivate voidprivate voidprivate voidperformXMLConfiguration(LoggerContext lc, URL mainConfigurationURL) removeIncludeEvents(List<SaxEvent> unsanitizedEventList) voidrun()toString()Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
DETECTED_CHANGE_IN_CONFIGURATION_FILES
- See Also:
-
RE_REGISTERING_PREVIOUS_SAFE_CONFIGURATION
- See Also:
-
FALLING_BACK_TO_SAFE_CONFIGURATION
- See Also:
-
birthdate
long birthdate -
listeners
List<ReconfigureOnChangeTaskListener> listeners
-
-
Constructor Details
-
ReconfigureOnChangeTask
public ReconfigureOnChangeTask()
-
-
Method Details
-
addListener
-
run
public void run() -
fireEnteredRunMethod
private void fireEnteredRunMethod() -
fireChangeDetected
private void fireChangeDetected() -
fireDoneReconfiguring
private void fireDoneReconfiguring() -
performXMLConfiguration
-
removeIncludeEvents
-
fallbackConfiguration
-
toString
-