@InterfaceAudience.Public @InterfaceStability.Unstable public class ContainerLogAppender extends org.apache.log4j.FileAppender implements Flushable
Constructor and Description |
---|
ContainerLogAppender() |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions() |
void |
append(org.apache.log4j.spi.LoggingEvent event) |
void |
close() |
void |
flush() |
String |
getContainerLogDir()
Getter/Setter methods for log4j.
|
long |
getTotalLogFileSize() |
void |
setContainerLogDir(String containerLogDir) |
void |
setTotalLogFileSize(long logSize) |
closeFile, getAppend, getBufferedIO, getBufferSize, getFile, reset, setAppend, setBufferedIO, setBufferSize, setFile, setFile, setQWForFiles
checkEntryConditions, closeWriter, createWriter, getEncoding, getImmediateFlush, requiresLayout, setEncoding, setErrorHandler, setImmediateFlush, setWriter, shouldFlush, subAppend, writeFooter, writeHeader
public ContainerLogAppender()
public void activateOptions()
activateOptions
in interface org.apache.log4j.spi.OptionHandler
activateOptions
in class org.apache.log4j.FileAppender
public void append(org.apache.log4j.spi.LoggingEvent event)
append
in class org.apache.log4j.WriterAppender
public void close()
close
in interface org.apache.log4j.Appender
close
in class org.apache.log4j.WriterAppender
public String getContainerLogDir()
public void setContainerLogDir(String containerLogDir)
public long getTotalLogFileSize()
public void setTotalLogFileSize(long logSize)
Copyright © 2016 Apache Software Foundation. All Rights Reserved.