Defines a handler which writes to a file.
| Type | BOOLEAN |
| Default Value | true |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | BOOLEAN |
| Default Value | true |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | BOOLEAN |
| Default Value | true |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | OBJECT |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Default Value | %d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Default Value | ALL |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Allowed Values |
TRACE ALL SEVERE FINER FINEST INFO DEBUG WARNING WARN OFF CONFIG FINE ERROR FATAL |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Is the attribute nillable? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-only |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Is the attribute nillable? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| 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. |
| named-formatter | STRING | false | false | The name of the defined formatter to be used on the handler. |
| Raw DMR model |
|
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| file | OBJECT | true | false | Change the file for a handler. |
| Raw DMR model |
|
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| level | STRING | false | true | ALL | The new level to set. |
| Raw DMR model |
|
| Raw DMR model |
|
| Raw DMR model |
|
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| unit | STRING | false | false | BYTES | Disk space unit to display disk usage. |
{
"used-space" => {
"type" => DOUBLE,
"description" => "The total size of the contents of a filesystem path.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"unit" => "BYTES",
"stability" => "default"
},
"creation-time" => {
"type" => STRING,
"description" => "The creation time of a filesystem path.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"min-length" => 1,
"max-length" => 2147483647,
"stability" => "default"
},
"last-modified" => {
"type" => STRING,
"description" => "The last modified time of a filesystem path.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"min-length" => 1,
"max-length" => 2147483647,
"stability" => "default"
},
"resolved-path" => {
"type" => STRING,
"description" => "The resolved filesystem path.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"min-length" => 1,
"max-length" => 2147483647,
"stability" => "default"
},
"available-space" => {
"type" => DOUBLE,
"description" => "The total size of available space for the partition containing a filesystem path.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"unit" => "BYTES",
"stability" => "default"
}
}
| Raw DMR model |
|
| Raw DMR model |
|
| 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. |
| Raw DMR model |
|
| 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. |
| file | OBJECT | true | false | The file description consisting of the path and optional relative to path. | |
| named-formatter | STRING | false | false | The name of the defined formatter to be used on the handler. |
| Raw DMR model |
|
Galleon features are to be used when creating Galleon feature-packs.
<feature spec="subsystem.logging.logging-profile.file-handler">
<param name="file-handler" value="{resource name}"/>
<param name="logging-profile" value="{resource name}"/>
<param name="append" value="{value}"/>
<param name="autoflush" value="{value}"/>
<param name="enabled" value="{value}"/>
<param name="encoding" value="{value}"/>
<param name="file" value="{value}"/>
<param name="filter-spec" value="{value}"/>
<param name="formatter" value="{value}"/>
<param name="level" value="{value}"/>
<param name="named-formatter" value="{value}"/>
<feature/>