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) long
static final String
(package private) static final String
(package private) List
<ReconfigureOnChangeTaskListener> (package private) static final String
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
addListener
(ReconfigureOnChangeTaskListener listener) private void
fallbackConfiguration
(LoggerContext lc, List<SaxEvent> eventList, URL mainURL) private void
private void
private void
private void
performXMLConfiguration
(LoggerContext lc, URL mainConfigurationURL) removeIncludeEvents
(List<SaxEvent> unsanitizedEventList) void
run()
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
-