public interface ConfigRollingFileAppender extends ConfigFileAppender
ConfigRollingFileAppender
takes charge of
managing rolling file appender specific properties.DST_CONSOLE, DST_DAILY_ROLLING_FILE, DST_FILE, DST_LF5, DST_NTLOG, DST_ROLLING_FILE, DST_SOCKET, DST_SYSLOG, DST_TELNET, LAYOUT_HTML, LAYOUT_PATTERN, LAYOUT_SIMPLE, LAYOUT_TTCC, LAYOUT_XML, LAYOUTS, THRESHOLD_ALL, THRESHOLD_DEBUG, THRESHOLD_ERROR, THRESHOLD_FATAL, THRESHOLD_INFO, THRESHOLD_OFF, THRESHOLD_WARN, THRESHOLDS
Modifier and Type | Method and Description |
---|---|
int |
getMaxBackupIndex()
Gets the rolling file appender max backup index.
|
long |
getMaxFileSize()
Gets the max file rolling size (KB) of the rolling file appender.
|
void |
setMaxBackupIndex(int index)
Sets the rolling file appender's max backup index.
|
void |
setMaxFileSize(long size)
Sets the rolling appender max file size.
|
getBufferSize, getFileName, getLayout, getPatternConversion, isAppendable, isBufferedIO, setAppendable, setBufferedIO, setBufferSize, setFileName, setLayout, setPatternConversion
getName, getThreshold, isSelected, setSelected, setThreshold
long getMaxFileSize()
void setMaxFileSize(long size)
size
- the max file rolling size (KB) of the rolling file appender.int getMaxBackupIndex()
void setMaxBackupIndex(int index)
index
- the max backup index of the rolling file appender.