logger
Name | Type | Default | Description |
---|---|---|---|
use-parent-handlers | boolean | true | |
category | string |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
handlers?
handler
Name | Type | Default | Description |
---|---|---|---|
name | string |
root-logger
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
handlers?
handler
Name | Type | Default | Description |
---|---|---|---|
name | string |
console-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
target?
Name | Type | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
name |
|
file-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
file
Name | Type | Default | Description |
---|---|---|---|
relative-to | string | ||
path | string |
append?
Name | Type | Default | Description |
---|---|---|---|
value | boolean |
periodic-rotating-file-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
file
Name | Type | Default | Description |
---|---|---|---|
relative-to | string | ||
path | string |
suffix
Name | Type | Default | Description |
---|---|---|---|
value | string |
append?
Name | Type | Default | Description |
---|---|---|---|
value | boolean |
periodic-size-rotating-file-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true | |
rotate-on-boot | boolean | false |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
file
Name | Type | Default | Description |
---|---|---|---|
relative-to | string | ||
path | string |
rotate-size?
Name | Type | Default | Description |
---|---|---|---|
value |
max-backup-index?
Name | Type | Default | Description |
---|---|---|---|
value | positiveInteger |
suffix
Name | Type | Default | Description |
---|---|---|---|
value | string |
append?
Name | Type | Default | Description |
---|---|---|---|
value | boolean |
size-rotating-file-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true | |
rotate-on-boot | boolean | false |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
file
Name | Type | Default | Description |
---|---|---|---|
relative-to | string | ||
path | string |
rotate-size?
Name | Type | Default | Description |
---|---|---|---|
value |
max-backup-index?
Name | Type | Default | Description |
---|---|---|---|
value | positiveInteger |
suffix?
Name | Type | Default | Description |
---|---|---|---|
value | string |
append?
Name | Type | Default | Description |
---|---|---|---|
value | boolean |
socket-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
block-on-reconnect | boolean | false | |
name | string | ||
enabled | boolean | true | |
outbound-socket-binding-ref | string | ||
ssl-context | string |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
protocol?
Name | Type | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
value |
|
async-handler
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
queue-length
Name | Type | Default | Description |
---|---|---|---|
value |
overflow-action?
Name | Type | Default | Description | ||||
---|---|---|---|---|---|---|---|
value |
|
subhandlers
handler
Name | Type | Default | Description |
---|---|---|---|
name | string |
custom-handler
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
module | string | ||
class | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
properties?
property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
syslog-handler
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
server-address?
The address of the syslog server. The default is localhost.
Name | Type | Default | Description |
---|---|---|---|
value | string |
hostname?
The name of the host the messages are being sent from. For example the name of the host the application server is running on.
Name | Type | Default | Description |
---|---|---|---|
value | string |
port?
The port the syslog server is listening on. The default is 514.
Name | Type | Default | Description |
---|---|---|---|
value | positiveInteger |
app-name?
The app name used when formatting the message in RFC5424 format. By default the app name is "java"
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
syslog-format
Name | Type | Default | Description | ||||
---|---|---|---|---|---|---|---|
syslog-type |
|
named-formatter?
Name | Type | Default | Description |
---|---|---|---|
name | string |
facility?
Name | Type | Default | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value |
|
formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string | The format pattern as defined in org.jboss.logmanager.formatters.FormatStringParser. | |
color-map | string | The color-map attribute allows for a comma delimited list of colors to be used for different levels. The format is level-name:color-name. Valid Levels; severe, fatal, error, warn, warning, info, debug, trace, config, fine, finer, finest Valid Colors; black, green, red, yellow, blue, magenta, cyan, white, brightblack, brightred, brightgreen, brightblue, brightyellow, brightmagenta, brightcyan, brightwhite |
custom-formatter
Name | Type | Default | Description |
---|---|---|---|
module | string | ||
class | string |
properties?
property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
json-formatter
Defines a JSON formatter to be used to format log messages.
Name | Type | Default | Description |
---|---|---|---|
date-format | string | The date/time format pattern. The pattern must be a valid java.time.format.DateTimeFormatter.ofPattern() pattern. | |
pretty-print | boolean | false | Indicates whether or not pretty printing should be used when formatting. |
print-details | boolean | false | Sets whether or not details should be printed. Printing the details can be expensive as the values are retrieved from the caller. The details include the source class name, source file name, source method name and source line number. |
zone-id | string | The zone ID for formatting the date and time. The system default is used if left undefined. |
exception-output-type?
Indicates how the cause of the logged message, if one is available, will be added to the output.
Set the output type for exceptions. The default is detailed.Name | Type | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
value |
|
record-delimiter?
The value to be used to indicate the end of a record. If set to null no delimiter will be used at the end of the record. The default value is a line feed.
Name | Type | Default | Description |
---|---|---|---|
value | string |
key-overrides?
Allows the names of the keys or elements for the properties to be overridden.
Name | Type | Default | Description |
---|---|---|---|
exception | string | ||
exception-caused-by | string | ||
exception-circular-reference | string | ||
exception-frame | string | ||
exception-frame-class | string | ||
exception-frame-line | string | ||
exception-frame-method | string | ||
exception-frames | string | ||
exception-message | string | ||
exception-reference-id | string | ||
exception-suppressed | string | ||
exception-type | string | ||
host-name | string | ||
level | string | ||
logger-class-name | string | ||
logger-name | string | ||
mdc | string | ||
message | string | ||
ndc | string | ||
process-id | string | ||
process-name | string | ||
record | string | ||
sequence | string | ||
source-class-name | string | ||
source-file-name | string | ||
source-line-number | string | ||
source-method-name | string | ||
source-module-name | string | ||
source-module-version | string | ||
stack-trace | string | ||
thread-id | string | ||
thread-name | string | ||
timestamp | string |
meta-data?
Sets the meta data to use in the structured format. Properties will be added to each log message.
A collection of free-form properties.property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
xml-formatter
Defines a XML formatter to be used to format log messages.
Name | Type | Default | Description |
---|---|---|---|
namespace-uri | string | Allows the namespace to be overridden. If not defined a default will be used. | |
print-namespace | boolean | false | Indicates whether or no the namespace should be added to each record element. |
Name | Type | Default | Description |
---|---|---|---|
date-format | string | The date/time format pattern. The pattern must be a valid java.time.format.DateTimeFormatter.ofPattern() pattern. | |
pretty-print | boolean | false | Indicates whether or not pretty printing should be used when formatting. |
print-details | boolean | false | Sets whether or not details should be printed. Printing the details can be expensive as the values are retrieved from the caller. The details include the source class name, source file name, source method name and source line number. |
zone-id | string | The zone ID for formatting the date and time. The system default is used if left undefined. |
exception-output-type?
Indicates how the cause of the logged message, if one is available, will be added to the output.
Set the output type for exceptions. The default is detailed.Name | Type | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
value |
|
record-delimiter?
The value to be used to indicate the end of a record. If set to null no delimiter will be used at the end of the record. The default value is a line feed.
Name | Type | Default | Description |
---|---|---|---|
value | string |
key-overrides?
Allows the names of the keys or elements for the properties to be overridden.
Name | Type | Default | Description |
---|---|---|---|
exception | string | ||
exception-caused-by | string | ||
exception-circular-reference | string | ||
exception-frame | string | ||
exception-frame-class | string | ||
exception-frame-line | string | ||
exception-frame-method | string | ||
exception-frames | string | ||
exception-message | string | ||
exception-reference-id | string | ||
exception-suppressed | string | ||
exception-type | string | ||
host-name | string | ||
level | string | ||
logger-class-name | string | ||
logger-name | string | ||
mdc | string | ||
message | string | ||
ndc | string | ||
process-id | string | ||
process-name | string | ||
record | string | ||
sequence | string | ||
source-class-name | string | ||
source-file-name | string | ||
source-line-number | string | ||
source-method-name | string | ||
source-module-name | string | ||
source-module-version | string | ||
stack-trace | string | ||
thread-id | string | ||
thread-name | string | ||
timestamp | string |
meta-data?
Sets the meta data to use in the structured format. Properties will be added to each log message.
A collection of free-form properties.property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
filter
Name | Type | Default | Description |
---|---|---|---|
module | string | ||
class | string | ||
name | string |
constructor-properties?
property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
properties?
property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
add-logging-api-dependencies
Determines whether or not the default logging dependencies should be added to deployments during the deployment process.
Name | Type | Default | Description |
---|---|---|---|
value | boolean | true |
use-deployment-logging-config
Determines whether or not deployments should be scanned for configuration files. If set to true and a configuration file is found the log manager will be configured based on the configuration file.
Name | Type | Default | Description |
---|---|---|---|
value | boolean | true |
logging-profiles?
logging-profile*
Name | Type | Default | Description |
---|---|---|---|
name | string |
logger
Name | Type | Default | Description |
---|---|---|---|
use-parent-handlers | boolean | true | |
category | string |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
handlers?
handler
Name | Type | Default | Description |
---|---|---|---|
name | string |
root-logger
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
handlers?
handler
Name | Type | Default | Description |
---|---|---|---|
name | string |
console-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
target?
Name | Type | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
name |
|
file-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
file
Name | Type | Default | Description |
---|---|---|---|
relative-to | string | ||
path | string |
append?
Name | Type | Default | Description |
---|---|---|---|
value | boolean |
periodic-rotating-file-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
file
Name | Type | Default | Description |
---|---|---|---|
relative-to | string | ||
path | string |
suffix
Name | Type | Default | Description |
---|---|---|---|
value | string |
append?
Name | Type | Default | Description |
---|---|---|---|
value | boolean |
periodic-size-rotating-file-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true | |
rotate-on-boot | boolean | false |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
file
Name | Type | Default | Description |
---|---|---|---|
relative-to | string | ||
path | string |
rotate-size?
Name | Type | Default | Description |
---|---|---|---|
value |
max-backup-index?
Name | Type | Default | Description |
---|---|---|---|
value | positiveInteger |
suffix
Name | Type | Default | Description |
---|---|---|---|
value | string |
append?
Name | Type | Default | Description |
---|---|---|---|
value | boolean |
size-rotating-file-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
name | string | ||
enabled | boolean | true | |
rotate-on-boot | boolean | false |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
file
Name | Type | Default | Description |
---|---|---|---|
relative-to | string | ||
path | string |
rotate-size?
Name | Type | Default | Description |
---|---|---|---|
value |
max-backup-index?
Name | Type | Default | Description |
---|---|---|---|
value | positiveInteger |
suffix?
Name | Type | Default | Description |
---|---|---|---|
value | string |
append?
Name | Type | Default | Description |
---|---|---|---|
value | boolean |
socket-handler
Name | Type | Default | Description |
---|---|---|---|
autoflush | boolean | true | |
block-on-reconnect | boolean | false | |
name | string | ||
enabled | boolean | true | |
outbound-socket-binding-ref | string | ||
ssl-context | string |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
protocol?
Name | Type | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
value |
|
async-handler
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
queue-length
Name | Type | Default | Description |
---|---|---|---|
value |
overflow-action?
Name | Type | Default | Description | ||||
---|---|---|---|---|---|---|---|
value |
|
subhandlers
handler
Name | Type | Default | Description |
---|---|---|---|
name | string |
custom-handler
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
module | string | ||
class | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
encoding?
Name | Type | Default | Description |
---|---|---|---|
value | string |
filter-spec?
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string |
named-formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
properties?
property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
syslog-handler
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
enabled | boolean | true |
level?
Name | Type | Default | Description |
---|---|---|---|
name | string |
server-address?
The address of the syslog server. The default is localhost.
Name | Type | Default | Description |
---|---|---|---|
value | string |
hostname?
The name of the host the messages are being sent from. For example the name of the host the application server is running on.
Name | Type | Default | Description |
---|---|---|---|
value | string |
port?
The port the syslog server is listening on. The default is 514.
Name | Type | Default | Description |
---|---|---|---|
value | positiveInteger |
app-name?
The app name used when formatting the message in RFC5424 format. By default the app name is "java"
Name | Type | Default | Description |
---|---|---|---|
value | string |
formatter?
syslog-format
Name | Type | Default | Description | ||||
---|---|---|---|---|---|---|---|
syslog-type |
|
named-formatter?
Name | Type | Default | Description |
---|---|---|---|
name | string |
facility?
Name | Type | Default | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value |
|
formatter
Name | Type | Default | Description |
---|---|---|---|
name | string |
pattern-formatter
Name | Type | Default | Description |
---|---|---|---|
pattern | string | The format pattern as defined in org.jboss.logmanager.formatters.FormatStringParser. | |
color-map | string | The color-map attribute allows for a comma delimited list of colors to be used for different levels. The format is level-name:color-name. Valid Levels; severe, fatal, error, warn, warning, info, debug, trace, config, fine, finer, finest Valid Colors; black, green, red, yellow, blue, magenta, cyan, white, brightblack, brightred, brightgreen, brightblue, brightyellow, brightmagenta, brightcyan, brightwhite |
custom-formatter
Name | Type | Default | Description |
---|---|---|---|
module | string | ||
class | string |
properties?
property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
json-formatter
Defines a JSON formatter to be used to format log messages.
Name | Type | Default | Description |
---|---|---|---|
date-format | string | The date/time format pattern. The pattern must be a valid java.time.format.DateTimeFormatter.ofPattern() pattern. | |
pretty-print | boolean | false | Indicates whether or not pretty printing should be used when formatting. |
print-details | boolean | false | Sets whether or not details should be printed. Printing the details can be expensive as the values are retrieved from the caller. The details include the source class name, source file name, source method name and source line number. |
zone-id | string | The zone ID for formatting the date and time. The system default is used if left undefined. |
exception-output-type?
Indicates how the cause of the logged message, if one is available, will be added to the output.
Set the output type for exceptions. The default is detailed.Name | Type | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
value |
|
record-delimiter?
The value to be used to indicate the end of a record. If set to null no delimiter will be used at the end of the record. The default value is a line feed.
Name | Type | Default | Description |
---|---|---|---|
value | string |
key-overrides?
Allows the names of the keys or elements for the properties to be overridden.
Name | Type | Default | Description |
---|---|---|---|
exception | string | ||
exception-caused-by | string | ||
exception-circular-reference | string | ||
exception-frame | string | ||
exception-frame-class | string | ||
exception-frame-line | string | ||
exception-frame-method | string | ||
exception-frames | string | ||
exception-message | string | ||
exception-reference-id | string | ||
exception-suppressed | string | ||
exception-type | string | ||
host-name | string | ||
level | string | ||
logger-class-name | string | ||
logger-name | string | ||
mdc | string | ||
message | string | ||
ndc | string | ||
process-id | string | ||
process-name | string | ||
record | string | ||
sequence | string | ||
source-class-name | string | ||
source-file-name | string | ||
source-line-number | string | ||
source-method-name | string | ||
source-module-name | string | ||
source-module-version | string | ||
stack-trace | string | ||
thread-id | string | ||
thread-name | string | ||
timestamp | string |
meta-data?
Sets the meta data to use in the structured format. Properties will be added to each log message.
A collection of free-form properties.property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
xml-formatter
Defines a XML formatter to be used to format log messages.
Name | Type | Default | Description |
---|---|---|---|
namespace-uri | string | Allows the namespace to be overridden. If not defined a default will be used. | |
print-namespace | boolean | false | Indicates whether or no the namespace should be added to each record element. |
Name | Type | Default | Description |
---|---|---|---|
date-format | string | The date/time format pattern. The pattern must be a valid java.time.format.DateTimeFormatter.ofPattern() pattern. | |
pretty-print | boolean | false | Indicates whether or not pretty printing should be used when formatting. |
print-details | boolean | false | Sets whether or not details should be printed. Printing the details can be expensive as the values are retrieved from the caller. The details include the source class name, source file name, source method name and source line number. |
zone-id | string | The zone ID for formatting the date and time. The system default is used if left undefined. |
exception-output-type?
Indicates how the cause of the logged message, if one is available, will be added to the output.
Set the output type for exceptions. The default is detailed.Name | Type | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
value |
|
record-delimiter?
The value to be used to indicate the end of a record. If set to null no delimiter will be used at the end of the record. The default value is a line feed.
Name | Type | Default | Description |
---|---|---|---|
value | string |
key-overrides?
Allows the names of the keys or elements for the properties to be overridden.
Name | Type | Default | Description |
---|---|---|---|
exception | string | ||
exception-caused-by | string | ||
exception-circular-reference | string | ||
exception-frame | string | ||
exception-frame-class | string | ||
exception-frame-line | string | ||
exception-frame-method | string | ||
exception-frames | string | ||
exception-message | string | ||
exception-reference-id | string | ||
exception-suppressed | string | ||
exception-type | string | ||
host-name | string | ||
level | string | ||
logger-class-name | string | ||
logger-name | string | ||
mdc | string | ||
message | string | ||
ndc | string | ||
process-id | string | ||
process-name | string | ||
record | string | ||
sequence | string | ||
source-class-name | string | ||
source-file-name | string | ||
source-line-number | string | ||
source-method-name | string | ||
source-module-name | string | ||
source-module-version | string | ||
stack-trace | string | ||
thread-id | string | ||
thread-name | string | ||
timestamp | string |
meta-data?
Sets the meta data to use in the structured format. Properties will be added to each log message.
A collection of free-form properties.property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
filter
Name | Type | Default | Description |
---|---|---|---|
module | string | ||
class | string | ||
name | string |
constructor-properties?
property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |
properties?
property
Name | Type | Default | Description |
---|---|---|---|
name | string | ||
value | string |