public class Log4JExternallyRolledFileAppender
extends org.apache.log4j.varia.ExternallyRolledFileAppender
ExternallyRolledFileAppender
with added support for grid node IDs.Constructor and Description |
---|
Log4JExternallyRolledFileAppender()
Default constructor (does not do anything).
|
Modifier and Type | Method and Description |
---|---|
void |
setFile(String fileName,
boolean fileAppend,
boolean bufIO,
int bufSize) |
void |
updateFilePath(IgniteClosure<String,String> filePathClos)
Sets closure that later evaluate file path.
|
activateOptions, getPort, setPort
getMaxBackupIndex, getMaximumFileSize, rollOver, setMaxBackupIndex, setMaxFileSize, setMaximumFileSize, setQWForFiles, subAppend
closeFile, getAppend, getBufferedIO, getBufferSize, getFile, reset, setAppend, setBufferedIO, setBufferSize, setFile
append, checkEntryConditions, close, closeWriter, createWriter, getEncoding, getImmediateFlush, requiresLayout, setEncoding, setErrorHandler, setImmediateFlush, setWriter, shouldFlush, writeFooter, writeHeader
public Log4JExternallyRolledFileAppender()
public void updateFilePath(IgniteClosure<String,String> filePathClos)
filePathClos
- Closure that generates actual file path.public void setFile(String fileName, boolean fileAppend, boolean bufIO, int bufSize) throws IOException
setFile
in class org.apache.log4j.RollingFileAppender
IOException
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024