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.
|
String |
getContainerLogFile() |
long |
getTotalLogFileSize() |
void |
setContainerLogDir(String containerLogDir) |
void |
setContainerLogFile(String containerLogFile) |
void |
setTotalLogFileSize(long logSize)
Setter so that log4j can configure it from the
configuration(log4j.properties).
|
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 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 String getContainerLogFile()
public void setContainerLogFile(String containerLogFile)
public long getTotalLogFileSize()
public void setTotalLogFileSize(long logSize)
Copyright © 2020 Apache Software Foundation. All rights reserved.