It defines a handler which writes to a socket. Note that a socket-handler will queue messages during the boot process. These messages will be drained to the socket once the resource is fully configured. If the server is in an admin-only state, messages will be discarded.
| 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 | false |
| 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 | 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 |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | resource-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Default Value | TCP |
| 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 |
TCP UDP SSL_TCP |
| 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? | resource-services |
| Stability Level | default |
| Raw DMR model |
|
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| autoflush | BOOLEAN | false | true | true | Automatically flush after each write. |
| block-on-reconnect | BOOLEAN | false | true | false | If set to true the write methods will block when attempting to reconnect. This is only advisable to be set to true if using an asynchronous handler. |
| 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. | |
| 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.*")) | |
| 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 | true | false | The name of the defined formatter to be used on the handler. | |
| outbound-socket-binding-ref | STRING | true | true | Outbound socket reference for the socket connection. | |
| protocol | STRING | false | true | TCP | The protocol the socket should communicate over. |
| ssl-context | STRING | false | true | The reference to the defined SSL context. This is only used if the protocol is set to SSL_TCP. |
| Raw DMR model |
|
| Raw DMR model |
|
Galleon features are to be used when creating Galleon feature-packs.
<feature spec="subsystem.logging.logging-profile.socket-handler">
<param name="logging-profile" value="{resource name}"/>
<param name="socket-handler" value="{resource name}"/>
<param name="autoflush" value="{value}"/>
<param name="block-on-reconnect" value="{value}"/>
<param name="enabled" value="{value}"/>
<param name="encoding" value="{value}"/>
<param name="filter-spec" value="{value}"/>
<param name="level" value="{value}"/>
<param name="named-formatter" value="{value}"/>
<param name="outbound-socket-binding-ref" value="{value}"/>
<param name="protocol" value="{value}"/>
<param name="ssl-context" value="{value}"/>
<feature/>