Defines a handler which writes to a file, rotating the log after a 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 | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Attribute | Value |
|---|---|
| Default Value | true |
| Type | BOOLEAN |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Attribute | Value |
|---|---|
| Type | STRING |
| Nillable | true |
| Expressions Allowed | false |
| 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 |
|---|---|
| Type | OBJECT |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Allowed Values | all any accept change-level deny level level-range match not replace |
| Attribute | Value |
|---|---|
| Default Value | %d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Attribute | Value |
|---|---|
| Type | STRING |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Allowed Values | ALL FINEST FINER TRACE DEBUG FINE CONFIG INFO WARN WARNING ERROR FATAL OFF |
| Attribute | Value |
|---|---|
| Default Value | 1 |
| Type | INT |
| Nillable | true |
| Expressions Allowed | false |
| Min | 1 |
| Max | 2,147,483,647 |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Attribute | Value |
|---|---|
| Default Value | 2m |
| Type | STRING |
| Nillable | false |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| name | STRING | true | false | The handler's name. | |
| encoding | STRING | false | false | The character encoding used by this Handler. | |
| level | STRING | false | false | The log level specifying which message levels will be logged by this. Message levels lower than this value will be discarded. | |
| filter | OBJECT | false | false | Defines a simple filter type. | |
| formatter | STRING | false | false | Defines a formatter. | |
| autoflush | BOOLEAN | false | false | Automatically flush after each write. | |
| append | BOOLEAN | false | false | Specify whether to append to the target file. | |
| file | OBJECT | true | false | The file description consisting of the path and optional relative to path. | |
| rotate-size | STRING | true | false | The size at which to rotate the log file. | |
| max-backup-index | INT | false | false | The maximum number of backups to keep. |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| file | OBJECT | true | false | The file description consisting of the path and optional relative to path. |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| level | STRING | false | false | The log level specifying which message levels will be logged by this logger. Message levels lower than this value will be discarded. |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| name | STRING | true | false | The handler's name. | |
| encoding | STRING | false | false | The character encoding used by this Handler. | |
| level | STRING | false | false | The log level specifying which message levels will be logged by this. Message levels lower than this value will be discarded. | |
| filter | OBJECT | false | false | Defines a simple filter type. | |
| formatter | STRING | false | false | Defines a formatter. | |
| autoflush | BOOLEAN | false | false | Automatically flush after each write. | |
| append | BOOLEAN | false | false | Specify whether to append to the target file. | |
| file | OBJECT | true | false | The file description consisting of the path and optional relative to path. | |
| rotate-size | STRING | true | false | The size at which to rotate the log file. | |
| max-backup-index | INT | false | false | The maximum number of backups to keep. |