class PropertyWatchdog extends FileWatchdog
DEFAULT_DELAY, delay, filename
Constructor and Description |
---|
PropertyWatchdog(java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
void |
doOnChange()
Call
PropertyConfigurator.configure(String) with the
filename to reconfigure log4j. |
checkAndConfigure, run, setDelay
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public void doOnChange()
PropertyConfigurator.configure(String)
with the
filename
to reconfigure log4j.doOnChange
in class FileWatchdog