Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
Modifier and Type | Method and Description |
---|---|
FileManager |
FileManager.FileManagerFactory.createManager(java.lang.String name,
FileManager.FactoryData data)
Creates a FileManager.
|
static FileManager |
FileManager.getFileManager(java.lang.String fileName,
boolean append,
boolean locking,
boolean bufferedIo,
boolean createOnDemand,
java.lang.String advertiseUri,
Layout<? extends java.io.Serializable> layout,
int bufferSize,
Configuration configuration)
Returns the FileManager.
|
Constructor and Description |
---|
FileAppender(java.lang.String name,
Layout<? extends java.io.Serializable> layout,
Filter filter,
FileManager manager,
java.lang.String filename,
boolean ignoreExceptions,
boolean immediateFlush,
Advertiser advertiser) |
Modifier and Type | Class and Description |
---|---|
class |
RollingFileManager
The Rolling File Manager.
|
class |
RollingRandomAccessFileManager
Extends RollingFileManager but instead of using a buffered output stream, this class uses a
ByteBuffer and a
RandomAccessFile to do the I/O. |