Package ch.qos.logback.classic.turbo
Class ReconfigureOnChangeFilter
- 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(since="2022-01-27") public class ReconfigureOnChangeFilter extends TurboFilter
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Reconfigure a LoggerContext when the configuration file changes.
-
-
Field Summary
Fields Modifier and Type Field Description static long
DEFAULT_REFRESH_PERIOD
Deprecated.Scan for changes in configuration file once every minute.
-
Constructor Summary
Constructors Constructor Description ReconfigureOnChangeFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FilterReply
decide(Marker marker, Logger logger, Level level, java.lang.String format, java.lang.Object[] params, java.lang.Throwable t)
Deprecated.Make a decision based on the multiple parameters passed as arguments.long
getRefreshPeriod()
Deprecated.void
setRefreshPeriod(long refreshPeriod)
Deprecated.void
start()
Deprecated.java.lang.String
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, getStatusManager, setContext
-
-
-
-
Field Detail
-
DEFAULT_REFRESH_PERIOD
public static final long DEFAULT_REFRESH_PERIOD
Deprecated.Scan for changes in configuration file once every minute.- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start()
Deprecated.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classTurboFilter
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
decide
public FilterReply decide(Marker marker, Logger logger, Level level, java.lang.String format, java.lang.Object[] params, java.lang.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
- Returns:
-
getRefreshPeriod
public long getRefreshPeriod()
Deprecated.
-
setRefreshPeriod
public void setRefreshPeriod(long refreshPeriod)
Deprecated.
-
-