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 longDEFAULT_REFRESH_PERIODDeprecated.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 FilterReplydecide(Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t)Deprecated.Make a decision based on the multiple parameters passed as arguments.longgetRefreshPeriod()Deprecated.voidsetRefreshPeriod(long refreshPeriod)Deprecated.voidstart()Deprecated.StringtoString()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:
startin interfaceLifeCycle- Overrides:
startin classTurboFilter
-
decide
public FilterReply decide(Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t)
Deprecated.Description copied from class:TurboFilterMake 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:
decidein classTurboFilter- Returns:
-
getRefreshPeriod
public long getRefreshPeriod()
Deprecated.
-
setRefreshPeriod
public void setRefreshPeriod(long refreshPeriod)
Deprecated.
-
-