Class XMLWatchdog
java.lang.Object
java.lang.Thread
org.apache.log4j.helpers.FileWatchdog
org.apache.log4j.xml.XMLWatchdog
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class FileWatchdog
DEFAULT_DELAY, delay, filenameFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCallsDOMConfigurator.doConfigure(String, LoggerRepository)with thefilenameto reconfigure Log4j.Methods inherited from class FileWatchdog
checkAndConfigure, run, setDelayMethods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Constructor Details
-
XMLWatchdog
XMLWatchdog(String filename)
-
-
Method Details
-
doOnChange
public void doOnChange()CallsDOMConfigurator.doConfigure(String, LoggerRepository)with thefilenameto reconfigure Log4j.- Specified by:
doOnChangein classFileWatchdog
-