@Plugin(name="LlapWrappedAppender",
category="Core",
elementType="appender",
printObject=true,
deferChildren=true)
public class LlapWrappedAppender
extends org.apache.logging.log4j.core.appender.AbstractAppender
| Constructor and Description |
|---|
LlapWrappedAppender(String name,
org.apache.logging.log4j.core.config.Node node,
org.apache.logging.log4j.core.config.Configuration config,
boolean renameOnClose,
String renamedFileSuffix) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(org.apache.logging.log4j.core.LogEvent event) |
static LlapWrappedAppender |
createAppender(String name,
String renameFileOnCloseProvided,
String renamedFileSuffixProvided,
org.apache.logging.log4j.core.config.Node node,
org.apache.logging.log4j.core.config.Configuration config) |
void |
start() |
void |
stop() |
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, setHandler, toStringaddFilter, getFilter, hasFilter, isFiltered, removeFilter, stop, stopequalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stoppublic void start()
start in interface org.apache.logging.log4j.core.LifeCyclestart in class org.apache.logging.log4j.core.filter.AbstractFilterablepublic void append(org.apache.logging.log4j.core.LogEvent event)
public void stop()
stop in interface org.apache.logging.log4j.core.LifeCyclestop in class org.apache.logging.log4j.core.AbstractLifeCycle@PluginFactory public static LlapWrappedAppender createAppender(@PluginAttribute(value="name") String name, @PluginAttribute(value="renameFileOnClose") String renameFileOnCloseProvided, @PluginAttribute(value="renamedFileSuffix") String renamedFileSuffixProvided, @PluginNode org.apache.logging.log4j.core.config.Node node, @PluginConfiguration org.apache.logging.log4j.core.config.Configuration config)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.