A json formatter for audit log messages.
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 | yyyy-MM-dd HH:mm:ss |
Type | STRING |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | no-services |
Attribute | Value |
---|---|
Default Value | - |
Type | STRING |
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 | 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 |
Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
---|---|---|---|---|---|
compact | BOOLEAN | false | true | false | If true will format the JSON on one line. There may still be values containing new lines, so if having the whole record on one line is important, set escape-new-line or escape-control-characters to true. |
date-format | STRING | false | true | yyyy-MM-dd HH:mm:ss | The date format to use as understood by {@link java.text.SimpleDateFormat}. Will be ignored if include-date="false". |
date-separator | STRING | false | true | - | The separator between the date and the rest of the formatted log message. Will be ignored if include-date="false". |
escape-control-characters | BOOLEAN | false | true | false | If true will escape all control characters (ascii entries with a decimal value < 32) with the ascii code in octal, e.g.' becomes '#012'. If this is true, it will override escape-new-line="false". |
escape-new-line | BOOLEAN | false | true | false | If true will escape all new lines with the ascii code in octal, e.g. "#012". |
include-date | BOOLEAN | false | true | true | Whether or not to include the date in the formatted log record. |