public class PeriodicSizeRotatingFileHandler extends Object
| Constructor and Description |
|---|
PeriodicSizeRotatingFileHandler(String key) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
append()
Specify whether to append to the target file.
|
PeriodicSizeRotatingFileHandler |
append(Boolean value)
Specify whether to append to the target file.
|
Boolean |
autoflush()
Automatically flush after each write.
|
PeriodicSizeRotatingFileHandler |
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.
|
PeriodicSizeRotatingFileHandler |
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.
|
PeriodicSizeRotatingFileHandler |
encoding(String value)
The character encoding used by this Handler.
|
Map |
file()
The file description consisting of the path and optional relative to path.
|
PeriodicSizeRotatingFileHandler |
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.
|
PeriodicSizeRotatingFileHandler |
filterSpec(String value)
A filter expression value to define a filter.
|
String |
formatter()
Defines a pattern for the formatter.
|
PeriodicSizeRotatingFileHandler |
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.
|
PeriodicSizeRotatingFileHandler |
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.
|
PeriodicSizeRotatingFileHandler |
maxBackupIndex(Integer value)
The maximum number of backups to keep.
|
String |
namedFormatter()
The name of the defined formatter to be used on the handler.
|
PeriodicSizeRotatingFileHandler |
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.
|
PeriodicSizeRotatingFileHandler |
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.
|
PeriodicSizeRotatingFileHandler |
rotateSize(String value)
The size at which to rotate the log file.
|
String |
suffix()
Set the suffix string.
|
PeriodicSizeRotatingFileHandler |
suffix(String value)
Set the suffix string.
|
public PeriodicSizeRotatingFileHandler(String key)
public String getKey()
public Boolean append()
public PeriodicSizeRotatingFileHandler append(Boolean value)
public Boolean autoflush()
public PeriodicSizeRotatingFileHandler autoflush(Boolean value)
public Boolean enabled()
public PeriodicSizeRotatingFileHandler enabled(Boolean value)
public String encoding()
public PeriodicSizeRotatingFileHandler encoding(String value)
public Map file()
public PeriodicSizeRotatingFileHandler file(Map value)
public String filterSpec()
public PeriodicSizeRotatingFileHandler filterSpec(String value)
public String formatter()
public PeriodicSizeRotatingFileHandler formatter(String value)
public String level()
public PeriodicSizeRotatingFileHandler level(String value)
public Integer maxBackupIndex()
public PeriodicSizeRotatingFileHandler maxBackupIndex(Integer value)
public String namedFormatter()
public PeriodicSizeRotatingFileHandler namedFormatter(String value)
public Boolean rotateOnBoot()
public PeriodicSizeRotatingFileHandler rotateOnBoot(Boolean value)
public String rotateSize()
public PeriodicSizeRotatingFileHandler rotateSize(String value)
public String suffix()
public PeriodicSizeRotatingFileHandler suffix(String value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.