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 admin-only state messages will be discarded.
| 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 | false |
| 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 | 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 |
|---|---|
| Capability reference | |
| Type | STRING |
| Nillable | false |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Attribute | Value |
|---|---|
| Capability reference | |
| Type | STRING |
| Nillable | false |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Attribute | Value |
|---|---|
| Default Value | TCP |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Allowed Values | TCP UDP SSL_TCP |
| Attribute | Value |
|---|---|
| Capability reference | |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| 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. |