Defines a handler which writes to a file, rotating the log after the size of the file grows beyond a certain point and keeping a fixed number of backups.
| Attribute | Value | 
|---|---|
| Default Value | true | 
| Type | BOOLEAN | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Default Value | true | 
| Type | BOOLEAN | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Default Value | true | 
| Type | BOOLEAN | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Type | STRING | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Type | OBJECT | 
| Nillable | false | 
| Expressions Allowed | false | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Capability reference | |
| Type | STRING | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Default Value | %d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n | 
| Type | STRING | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Default Value | ALL | 
| Type | STRING | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Allowed Values | ALL FINEST FINER TRACE DEBUG FINE CONFIG INFO WARN WARNING ERROR SEVERE FATAL OFF | 
| Attribute | Value | 
|---|---|
| Default Value | 1 | 
| Type | INT | 
| Nillable | true | 
| Expressions Allowed | true | 
| Min | 1 | 
| Max | 2,147,483,647 | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Type | STRING | 
| Nillable | true | 
| Expressions Allowed | false | 
| Storage | configuration | 
| Access Type | read-only | 
| Attribute | Value | 
|---|---|
| Capability reference | |
| Type | STRING | 
| Nillable | true | 
| Expressions Allowed | false | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Default Value | false | 
| Type | BOOLEAN | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Default Value | 2m | 
| Type | STRING | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Attribute | Value | 
|---|---|
| Type | STRING | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | no-services | 
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description | 
|---|---|---|---|---|---|
| append | BOOLEAN | false | true | true | Specify whether to append to the target file. | 
| autoflush | BOOLEAN | false | true | true | Automatically flush after each write. | 
| enabled | BOOLEAN | false | true | true | If set to true the handler is enabled and functioning as normal, if set to false the handler is ignored when processing log messages. | 
| encoding | STRING | false | true | The character encoding used by this Handler. | |
| file | OBJECT | true | false | The file description consisting of the path and optional relative to path. | |
| filter-spec | STRING | false | true | A filter expression value to define a filter. Example for a filter that does not match a pattern: not(match("JBAS.*")) | |
| formatter | STRING | false | true | %d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n | Defines a pattern for the formatter. | 
| level | STRING | false | true | ALL | The log level specifying which message levels will be logged by this logger. Message levels lower than this value will be discarded. | 
| max-backup-index | INT | false | true | 1 | The maximum number of backups to keep. | 
| name | STRING | false | false | The name of the handler. | |
| named-formatter | STRING | false | false | The name of the defined formatter to be used on the handler. | |
| rotate-on-boot | BOOLEAN | false | true | false | Indicates the file should be rotated each time the file attribute is changed. This always happens when at initialization time. | 
| rotate-size | STRING | false | true | 2m | The size at which to rotate the log file. | 
| suffix | STRING | false | true | Set the suffix string. The string is in a format which can be understood by java.text.SimpleDateFormat. The suffix does not determine when the file should be rotated. | 
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description | 
|---|---|---|---|---|---|
| file | OBJECT | true | false | Change the file for a handler. | 
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description | 
|---|---|---|---|---|---|
| level | STRING | false | true | ALL | The new level to set. | 
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description | 
|---|---|---|---|---|---|
| relative-to-only | BOOLEAN | false | false | Indicates whether only the relative-to attribute should be resolved or the full path should be resolved. The default is false meaning the entire path will be resolved. | 
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description | 
|---|---|---|---|---|---|
| level | STRING | false | true | ALL | The log level specifying which message levels will be logged by this logger. Message levels lower than this value will be discarded. | 
| enabled | BOOLEAN | false | true | true | If set to true the handler is enabled and functioning as normal, if set to false the handler is ignored when processing log messages. | 
| encoding | STRING | false | true | The character encoding used by this Handler. | |
| formatter | STRING | false | true | %d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n | Defines a pattern for the formatter. | 
| filter-spec | STRING | false | true | A filter expression value to define a filter. Example for a filter that does not match a pattern: not(match("JBAS.*")) | |
| autoflush | BOOLEAN | false | true | true | Automatically flush after each write. | 
| append | BOOLEAN | false | true | true | Specify whether to append to the target file. | 
| max-backup-index | INT | false | true | 1 | The maximum number of backups to keep. | 
| rotate-size | STRING | false | true | 2m | The size at which to rotate the log file. | 
| rotate-on-boot | BOOLEAN | false | true | false | Indicates the file should be rotated each time the file attribute is changed. This always happens when at initialization time. | 
| named-formatter | STRING | false | false | The name of the defined formatter to be used on the handler. | |
| file | OBJECT | true | false | The file description consisting of the path and optional relative to path. | |
| suffix | STRING | false | true | Set the suffix string. The string is in a format which can be understood by java.text.SimpleDateFormat. The suffix does not determine when the file should be rotated. |