public class SizeRotatingFileHandler extends Object
| Constructor and Description |
|---|
SizeRotatingFileHandler(String key) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
append()
Specify whether to append to the target file.
|
SizeRotatingFileHandler |
append(Boolean value)
Specify whether to append to the target file.
|
Boolean |
autoflush()
Automatically flush after each write.
|
SizeRotatingFileHandler |
autoflush(Boolean value)
Automatically flush after each write.
|
Boolean |
enabled()
If set to true the handler is enabled and functioning as normal, if set to false the handler is ignored when processing log messages.
|
SizeRotatingFileHandler |
enabled(Boolean value)
If set to true the handler is enabled and functioning as normal, if set to false the handler is ignored when processing log messages.
|
String |
encoding()
The character encoding used by this Handler.
|
SizeRotatingFileHandler |
encoding(String value)
The character encoding used by this Handler.
|
Map |
file()
The file description consisting of the path and optional relative to path.
|
SizeRotatingFileHandler |
file(Map value)
The file description consisting of the path and optional relative to path.
|
String |
filterSpec()
A filter expression value to define a filter.
|
SizeRotatingFileHandler |
filterSpec(String value)
A filter expression value to define a filter.
|
String |
formatter()
Defines a pattern for the formatter.
|
SizeRotatingFileHandler |
formatter(String value)
Defines a pattern for the formatter.
|
String |
getKey() |
String |
level()
The log level specifying which message levels will be logged by this logger.
|
SizeRotatingFileHandler |
level(String value)
The log level specifying which message levels will be logged by this logger.
|
Integer |
maxBackupIndex()
The maximum number of backups to keep.
|
SizeRotatingFileHandler |
maxBackupIndex(Integer value)
The maximum number of backups to keep.
|
String |
namedFormatter()
The name of the defined formatter to be used on the handler.
|
SizeRotatingFileHandler |
namedFormatter(String value)
The name of the defined formatter to be used on the handler.
|
Boolean |
rotateOnBoot()
Indicates the file should be rotated each time the file attribute is changed.
|
SizeRotatingFileHandler |
rotateOnBoot(Boolean value)
Indicates the file should be rotated each time the file attribute is changed.
|
String |
rotateSize()
The size at which to rotate the log file.
|
SizeRotatingFileHandler |
rotateSize(String value)
The size at which to rotate the log file.
|
String |
suffix()
Set the suffix string.
|
SizeRotatingFileHandler |
suffix(String value)
Set the suffix string.
|
public SizeRotatingFileHandler(String key)
public String getKey()
public Boolean append()
public SizeRotatingFileHandler append(Boolean value)
public Boolean autoflush()
public SizeRotatingFileHandler autoflush(Boolean value)
public Boolean enabled()
public SizeRotatingFileHandler enabled(Boolean value)
public String encoding()
public SizeRotatingFileHandler encoding(String value)
public Map file()
public SizeRotatingFileHandler file(Map value)
public String filterSpec()
public SizeRotatingFileHandler filterSpec(String value)
public String formatter()
public SizeRotatingFileHandler formatter(String value)
public String level()
public SizeRotatingFileHandler level(String value)
public Integer maxBackupIndex()
public SizeRotatingFileHandler maxBackupIndex(Integer value)
public String namedFormatter()
public SizeRotatingFileHandler namedFormatter(String value)
public Boolean rotateOnBoot()
public SizeRotatingFileHandler rotateOnBoot(Boolean value)
public String rotateSize()
public SizeRotatingFileHandler rotateSize(String value)
public String suffix()
public SizeRotatingFileHandler suffix(String value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.