Ignite - In-Memory Database and Caching Platform
- java.lang.Object
-
- org.apache.log4j.AppenderSkeleton
-
- org.apache.log4j.WriterAppender
-
- org.apache.log4j.FileAppender
-
- org.apache.log4j.DailyRollingFileAppender
-
- org.apache.ignite.logger.log4j.Log4JDailyRollingFileAppender
-
-
Field Summary
-
Fields inherited from class org.apache.log4j.FileAppender
bufferedIO, bufferSize, fileAppend, fileName
-
Fields inherited from class org.apache.log4j.WriterAppender
encoding, immediateFlush, qw
-
Fields inherited from class org.apache.log4j.AppenderSkeleton
closed, errorHandler, headFilter, layout, name, tailFilter, threshold
-
Method Summary
-
Methods inherited from class org.apache.log4j.DailyRollingFileAppender
activateOptions, getDatePattern, setDatePattern, subAppend
-
Methods inherited from class org.apache.log4j.FileAppender
closeFile, getAppend, getBufferedIO, getBufferSize, getFile, reset, setAppend, setBufferedIO, setBufferSize, setFile, setQWForFiles
-
Methods inherited from class org.apache.log4j.WriterAppender
append, checkEntryConditions, close, closeWriter, createWriter, getEncoding, getImmediateFlush, requiresLayout, setEncoding, setErrorHandler, setImmediateFlush, setWriter, shouldFlush, writeFooter, writeHeader
-
Methods inherited from class org.apache.log4j.AppenderSkeleton
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setLayout, setName, setThreshold
-
-
Constructor Detail
-
Log4JDailyRollingFileAppender
public Log4JDailyRollingFileAppender(org.apache.log4j.Layout layout,
String filename,
String datePtrn)
throws IOException
Instantiate a FileAppender with given parameters.
- Parameters:
layout
- Layout.
filename
- File name.
datePtrn
- Date pattern.
- Throws:
IOException
- If failed.
-
Method Detail
-
updateFilePath
public void updateFilePath(IgniteClosure<String,String> filePathClos)
Sets closure that later evaluate file path.
- Parameters:
filePathClos
- Closure that generates actual file path.
-
setFile
public void setFile(String fileName,
boolean fileAppend,
boolean bufIO,
int bufSize)
throws IOException
- Overrides:
setFile
in class org.apache.log4j.FileAppender
- Throws:
IOException
Ignite - In-Memory Database and Caching Platform
| |
Ignite Database and Caching Platform | : ver. 2.7.2 | Release Date | : February 6 2019 | |