java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.classic.turbo.TurboFilter
ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter
- All Implemented Interfaces:
ContextAware
,LifeCycle
Deprecated.
Reconfigure a LoggerContext when the configuration file changes.
- Author:
- Ceki Gulcu
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
Deprecated.Scan for changes in configuration file once every minute.protected long
Deprecated.Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
changeDetected
(long now) Deprecated.decide
(org.slf4j.Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t) Deprecated.Make a decision based on the multiple parameters passed as arguments.long
Deprecated.void
setRefreshPeriod
(long refreshPeriod) Deprecated.void
start()
Deprecated.toString()
Deprecated.Methods inherited from class ch.qos.logback.classic.turbo.TurboFilter
getName, isStarted, setName, stop
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
DEFAULT_REFRESH_PERIOD
Deprecated.Scan for changes in configuration file once every minute.- See Also:
-
nextCheck
Deprecated.
-
-
Constructor Details
-
ReconfigureOnChangeFilter
public ReconfigureOnChangeFilter()Deprecated.
-
-
Method Details
-
start
Deprecated.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classTurboFilter
-
toString
-
decide
public FilterReply decide(org.slf4j.Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t) Deprecated.Description copied from class:TurboFilter
Make a decision based on the multiple parameters passed as arguments. The returned value should be one of
,FilterReply.DENY
, orFilterReply.NEUTRAL
.FilterReply.ACCEPT
- Specified by:
decide
in classTurboFilter
- Parameters:
marker
-logger
-level
-format
-params
-t
-- Returns:
-
changeDetected
Deprecated. -
getRefreshPeriod
Deprecated. -
setRefreshPeriod
Deprecated.
-
ReconfigureOnChangeTask