public abstract class AbstractFileAppender<M extends OutputStreamManager> extends AbstractOutputStreamAppender<M>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractFileAppender.Builder<B extends AbstractFileAppender.Builder<B>>
Builds FileAppender instances.
|
LifeCycle.StateDEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGERELEMENT_TYPE| Modifier and Type | Method and Description |
|---|---|
String |
getFileName()
Returns the file name this appender is associated with.
|
boolean |
stop(long timeout,
TimeUnit timeUnit)
Cleanup the Filter.
|
append, directEncodeEvent, getImmediateFlush, getManager, start, stop, writeByteArrayToManagererror, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, requiresLocation, setHandler, toSerializable, toStringaddFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilterequalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stoppublic String getFileName()
public boolean stop(long timeout, TimeUnit timeUnit)
AbstractFilterablestop in interface LifeCycle2stop in class AbstractOutputStreamAppender<M extends OutputStreamManager>timeout - the maximum time to waittimeUnit - the time unit of the timeout argumentCopyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.