It defines a syslog handler.
| 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 | 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 |
| Default Value | user-level |
| 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 |
local-use-5 line-printer network-news local-use-4 local-use-7 syslogd ftp-daemon local-use-6 local-use-1 log-alert local-use-0 kernel local-use-3 local-use-2 log-audit ntp security2 security user-level system-daemons uucp clock-daemon2 mail-system clock-daemon |
| 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 | 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-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | INT |
| Default Value | 514 |
| 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 |
| Min | 0 |
| Max | 65535 |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Default Value | localhost |
| 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 | RFC5424 |
| 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 |
RFC3164 RFC5424 |
| Stability Level | default |
| Raw DMR model |
|
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| app-name | STRING | false | true | The app name used when formatting the message in RFC5424 format. By default the app name is "java". | |
| 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. |
| facility | STRING | false | true | user-level | Facility as defined by RFC-5424 (http://tools.ietf.org/html/rfc5424)and RFC-3164 (http://tools.ietf.org/html/rfc3164). |
| hostname | STRING | false | true | The name of the host the messages are being sent from. For example the name of the host the application server is running on. | |
| 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. | |
| port | INT | false | true | 514 | The port the syslog server is listening on. |
| server-address | STRING | false | true | localhost | The address of the syslog server. |
| syslog-format | STRING | false | true | RFC5424 | Formats the log message according to the RFC specification. |
| Raw DMR model |
|
| Raw DMR model |
|
Galleon features are to be used when creating Galleon feature-packs.
<feature spec="subsystem.logging.syslog-handler">
<param name="syslog-handler" value="{resource name}"/>
<param name="app-name" value="{value}"/>
<param name="enabled" value="{value}"/>
<param name="facility" value="{value}"/>
<param name="hostname" value="{value}"/>
<param name="level" value="{value}"/>
<param name="named-formatter" value="{value}"/>
<param name="port" value="{value}"/>
<param name="server-address" value="{value}"/>
<param name="syslog-format" value="{value}"/>
<feature/>