urn:jboss:domain:logging:8.0

subsystem

The configuration of the logging subsystem.

logger

Defines a logger category.
NameTypeDefaultDescription
use-parent-handlersbooleantrue
categorystring
Defines the root logger for this log context.

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

filter-spec?

NameTypeDefaultDescription
valuestring

handlers?

A collection of handlers to apply to the enclosing object.

handler

A named reference to another object.
NameTypeDefaultDescription
namestring

root-logger

Defines the root logger for this log context.

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

filter-spec?

NameTypeDefaultDescription
valuestring

handlers?

A collection of handlers to apply to the enclosing object.

handler

A named reference to another object.
NameTypeDefaultDescription
namestring

console-handler

Defines a handler which writes to the console.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

target?

NameTypeDefaultDescription
name
System.out
System.err
console

file-handler

Defines a handler which writes to a file.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

file

NameTypeDefaultDescription
relative-tostring
pathstring

append?

NameTypeDefaultDescription
valueboolean

periodic-rotating-file-handler

Defines a handler which writes to a file, rotating the log after a time period derived from the given suffix string, which should be in a format understood by java.text.SimpleDateFormat.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

file

NameTypeDefaultDescription
relative-tostring
pathstring

suffix

NameTypeDefaultDescription
valuestring

append?

NameTypeDefaultDescription
valueboolean

periodic-size-rotating-file-handler

Defines a handler which writes to a file, rotating the log after the size of the file grows beyond a certain point or the time period derived from the given suffix string and keeping a fixed number of backups. The suffix should be in a format understood by java.text.SimpleDateFormat.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue
rotate-on-bootbooleanfalse

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

file

NameTypeDefaultDescription
relative-tostring
pathstring

rotate-size?

NameTypeDefaultDescription
value

max-backup-index?

NameTypeDefaultDescription
valuepositiveInteger

suffix

NameTypeDefaultDescription
valuestring

append?

NameTypeDefaultDescription
valueboolean

size-rotating-file-handler

Defines a handler which writes to a file, rotating the log after the size of the file grows beyond a certain point and keeping a fixed number of backups.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue
rotate-on-bootbooleanfalse

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

file

NameTypeDefaultDescription
relative-tostring
pathstring

rotate-size?

NameTypeDefaultDescription
value

max-backup-index?

NameTypeDefaultDescription
valuepositiveInteger

suffix?

NameTypeDefaultDescription
valuestring

append?

NameTypeDefaultDescription
valueboolean

socket-handler

Defines a handler which writes to a socket.
NameTypeDefaultDescription
autoflushbooleantrue
block-on-reconnectbooleanfalse
namestring
enabledbooleantrue
outbound-socket-binding-refstring
ssl-contextstring

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

protocol?

NameTypeDefaultDescription
value
SSL_TCP
TCP
UDP

async-handler

Defines a handler which writes to the sub-handlers in an asynchronous thread. Used for handlers which introduce a substantial amount of lag.
NameTypeDefaultDescription
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

filter-spec?

NameTypeDefaultDescription
valuestring

queue-length

NameTypeDefaultDescription
value

overflow-action?

NameTypeDefaultDescription
value
block
discard

subhandlers

A collection of handlers to apply to the enclosing object.

handler

A named reference to another object.
NameTypeDefaultDescription
namestring

custom-handler

Defines a custom handler.
NameTypeDefaultDescription
namestring
modulestring
classstring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

properties?

A collection of free-form properties.

property

NameTypeDefaultDescription
namestring
valuestring

syslog-handler

Defines a syslog handler for UNIX/Linux based operating systems.
NameTypeDefaultDescription
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

server-address?

The address of the syslog server. The default is localhost.

NameTypeDefaultDescription
valuestring

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.

NameTypeDefaultDescription
valuestring

port?

The port the syslog server is listening on. The default is 514.

NameTypeDefaultDescription
valuepositiveInteger

app-name?

The app name used when formatting the message in RFC5424 format. By default the app name is "java"

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

syslog-format

Formats the log message according to the RFC specification.
NameTypeDefaultDescription
syslog-type
RFC5424 Formats the message according the the RFC-5424 specification (http://tools.ietf.org/html/rfc5424#section-6)
RFC3164 Formats the message according the the RFC-3164 specification (http://tools.ietf.org/html/rfc3164#section-4.1)

named-formatter?

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

facility?

Facility as defined by RFC-5424 (http://tools.ietf.org/html/rfc5424)and RFC-3164 (http://tools.ietf.org/html/rfc3164).
NameTypeDefaultDescription
value
kernel
user-level
mail-system
system-daemons
security
syslogd
line-printer
network-news
uucp
clock-daemon
security2
ftp-daemon
ntp
log-audit
log-alert
clock-daemon2
local-use-0
local-use-1
local-use-2
local-use-3
local-use-4
local-use-5
local-use-6
local-use-7

formatter

A formatter that can be assigned to a handler.
NameTypeDefaultDescription
namestring

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format 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
NameTypeDefaultDescription
patternstring The format pattern as defined in org.jboss.logmanager.formatters.FormatStringParser.
color-mapstring 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

Defines a formatter to be used to format log messages. Note that most log records are formatted in the printf format. Formatters may require invocation of org.jboss.logmanager.ExtLogRecord#getFormattedMessage() for the message to be properly formatted.
NameTypeDefaultDescription
modulestring
classstring

properties?

A collection of free-form properties.

property

NameTypeDefaultDescription
namestring
valuestring

json-formatter

Defines a JSON formatter to be used to format log messages.

NameTypeDefaultDescription
date-formatstring The date/time format pattern. The pattern must be a valid java.time.format.DateTimeFormatter.ofPattern() pattern.
pretty-printbooleanfalse Indicates whether or not pretty printing should be used when formatting.
print-detailsbooleanfalse 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-idstring 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.
NameTypeDefaultDescription
value
detailed The cause, if present, will be an array of stack trace elements. This will include suppressed exceptions and the cause of the exception.
formatted The cause, if present, will be a string representation of the stack trace in a stackTrace property. The property value is a string created by Throwable.printStackTrace().
detailed-and-formatted The cause, if present, will be a string representation of the stack trace in a stackTrace property. The property value is a string created by Throwable.printStackTrace().

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.

NameTypeDefaultDescription
valuestring

key-overrides?

Allows the names of the keys or elements for the properties to be overridden.

NameTypeDefaultDescription
exceptionstring
exception-caused-bystring
exception-circular-referencestring
exception-framestring
exception-frame-classstring
exception-frame-linestring
exception-frame-methodstring
exception-framesstring
exception-messagestring
exception-reference-idstring
exception-suppressedstring
exception-typestring
host-namestring
levelstring
logger-class-namestring
logger-namestring
mdcstring
messagestring
ndcstring
process-idstring
process-namestring
recordstring
sequencestring
source-class-namestring
source-file-namestring
source-line-numberstring
source-method-namestring
source-module-namestring
source-module-versionstring
stack-tracestring
thread-idstring
thread-namestring
timestampstring

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

NameTypeDefaultDescription
namestring
valuestring

xml-formatter

Defines a XML formatter to be used to format log messages.

NameTypeDefaultDescription
namespace-uristring Allows the namespace to be overridden. If not defined a default will be used.
print-namespacebooleanfalse Indicates whether or no the namespace should be added to each record element.
NameTypeDefaultDescription
date-formatstring The date/time format pattern. The pattern must be a valid java.time.format.DateTimeFormatter.ofPattern() pattern.
pretty-printbooleanfalse Indicates whether or not pretty printing should be used when formatting.
print-detailsbooleanfalse 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-idstring 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.
NameTypeDefaultDescription
value
detailed The cause, if present, will be an array of stack trace elements. This will include suppressed exceptions and the cause of the exception.
formatted The cause, if present, will be a string representation of the stack trace in a stackTrace property. The property value is a string created by Throwable.printStackTrace().
detailed-and-formatted The cause, if present, will be a string representation of the stack trace in a stackTrace property. The property value is a string created by Throwable.printStackTrace().

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.

NameTypeDefaultDescription
valuestring

key-overrides?

Allows the names of the keys or elements for the properties to be overridden.

NameTypeDefaultDescription
exceptionstring
exception-caused-bystring
exception-circular-referencestring
exception-framestring
exception-frame-classstring
exception-frame-linestring
exception-frame-methodstring
exception-framesstring
exception-messagestring
exception-reference-idstring
exception-suppressedstring
exception-typestring
host-namestring
levelstring
logger-class-namestring
logger-namestring
mdcstring
messagestring
ndcstring
process-idstring
process-namestring
recordstring
sequencestring
source-class-namestring
source-file-namestring
source-line-numberstring
source-method-namestring
source-module-namestring
source-module-versionstring
stack-tracestring
thread-idstring
thread-namestring
timestampstring

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

NameTypeDefaultDescription
namestring
valuestring

filter

Defines a filter to be used to filter log messages.
NameTypeDefaultDescription
modulestring
classstring
namestring

constructor-properties?

A collection of free-form properties.

property

NameTypeDefaultDescription
namestring
valuestring

properties?

A collection of free-form properties.

property

NameTypeDefaultDescription
namestring
valuestring

add-logging-api-dependencies

Determines whether or not the default logging dependencies should be added to deployments during the deployment process.

NameTypeDefaultDescription
valuebooleantrue

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.

NameTypeDefaultDescription
valuebooleantrue

logging-profiles?

Contains a list of profiles available for use in deployments

logging-profile*

A logging profile that can be used in a deployment for a custom logging configuration.
NameTypeDefaultDescription
namestring

logger

Defines a logger category.
NameTypeDefaultDescription
use-parent-handlersbooleantrue
categorystring
Defines the root logger for this log context.

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

filter-spec?

NameTypeDefaultDescription
valuestring

handlers?

A collection of handlers to apply to the enclosing object.

handler

A named reference to another object.
NameTypeDefaultDescription
namestring

root-logger

Defines the root logger for this log context.

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

filter-spec?

NameTypeDefaultDescription
valuestring

handlers?

A collection of handlers to apply to the enclosing object.

handler

A named reference to another object.
NameTypeDefaultDescription
namestring

console-handler

Defines a handler which writes to the console.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

target?

NameTypeDefaultDescription
name
System.out
System.err
console

file-handler

Defines a handler which writes to a file.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

file

NameTypeDefaultDescription
relative-tostring
pathstring

append?

NameTypeDefaultDescription
valueboolean

periodic-rotating-file-handler

Defines a handler which writes to a file, rotating the log after a time period derived from the given suffix string, which should be in a format understood by java.text.SimpleDateFormat.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

file

NameTypeDefaultDescription
relative-tostring
pathstring

suffix

NameTypeDefaultDescription
valuestring

append?

NameTypeDefaultDescription
valueboolean

periodic-size-rotating-file-handler

Defines a handler which writes to a file, rotating the log after the size of the file grows beyond a certain point or the time period derived from the given suffix string and keeping a fixed number of backups. The suffix should be in a format understood by java.text.SimpleDateFormat.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue
rotate-on-bootbooleanfalse

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

file

NameTypeDefaultDescription
relative-tostring
pathstring

rotate-size?

NameTypeDefaultDescription
value

max-backup-index?

NameTypeDefaultDescription
valuepositiveInteger

suffix

NameTypeDefaultDescription
valuestring

append?

NameTypeDefaultDescription
valueboolean

size-rotating-file-handler

Defines a handler which writes to a file, rotating the log after the size of the file grows beyond a certain point and keeping a fixed number of backups.
NameTypeDefaultDescription
autoflushbooleantrue
namestring
enabledbooleantrue
rotate-on-bootbooleanfalse

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

file

NameTypeDefaultDescription
relative-tostring
pathstring

rotate-size?

NameTypeDefaultDescription
value

max-backup-index?

NameTypeDefaultDescription
valuepositiveInteger

suffix?

NameTypeDefaultDescription
valuestring

append?

NameTypeDefaultDescription
valueboolean

socket-handler

Defines a handler which writes to a socket.
NameTypeDefaultDescription
autoflushbooleantrue
block-on-reconnectbooleanfalse
namestring
enabledbooleantrue
outbound-socket-binding-refstring
ssl-contextstring

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

protocol?

NameTypeDefaultDescription
value
SSL_TCP
TCP
UDP

async-handler

Defines a handler which writes to the sub-handlers in an asynchronous thread. Used for handlers which introduce a substantial amount of lag.
NameTypeDefaultDescription
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

filter-spec?

NameTypeDefaultDescription
valuestring

queue-length

NameTypeDefaultDescription
value

overflow-action?

NameTypeDefaultDescription
value
block
discard

subhandlers

A collection of handlers to apply to the enclosing object.

handler

A named reference to another object.
NameTypeDefaultDescription
namestring

custom-handler

Defines a custom handler.
NameTypeDefaultDescription
namestring
modulestring
classstring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

encoding?

NameTypeDefaultDescription
valuestring

filter-spec?

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format string.
NameTypeDefaultDescription
patternstring

named-formatter

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

properties?

A collection of free-form properties.

property

NameTypeDefaultDescription
namestring
valuestring

syslog-handler

Defines a syslog handler for UNIX/Linux based operating systems.
NameTypeDefaultDescription
namestring
enabledbooleantrue

level?

A named reference to another object.
NameTypeDefaultDescription
namestring

server-address?

The address of the syslog server. The default is localhost.

NameTypeDefaultDescription
valuestring

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.

NameTypeDefaultDescription
valuestring

port?

The port the syslog server is listening on. The default is 514.

NameTypeDefaultDescription
valuepositiveInteger

app-name?

The app name used when formatting the message in RFC5424 format. By default the app name is "java"

NameTypeDefaultDescription
valuestring

formatter?

Defines a formatter.

syslog-format

Formats the log message according to the RFC specification.
NameTypeDefaultDescription
syslog-type
RFC5424 Formats the message according the the RFC-5424 specification (http://tools.ietf.org/html/rfc5424#section-6)
RFC3164 Formats the message according the the RFC-3164 specification (http://tools.ietf.org/html/rfc3164#section-4.1)

named-formatter?

The name of a defined formatter that will be used to format the log message.
NameTypeDefaultDescription
namestring

facility?

Facility as defined by RFC-5424 (http://tools.ietf.org/html/rfc5424)and RFC-3164 (http://tools.ietf.org/html/rfc3164).
NameTypeDefaultDescription
value
kernel
user-level
mail-system
system-daemons
security
syslogd
line-printer
network-news
uucp
clock-daemon
security2
ftp-daemon
ntp
log-audit
log-alert
clock-daemon2
local-use-0
local-use-1
local-use-2
local-use-3
local-use-4
local-use-5
local-use-6
local-use-7

formatter

A formatter that can be assigned to a handler.
NameTypeDefaultDescription
namestring

pattern-formatter

Defines a pattern formatter. See the documentation for org.jboss.logmanager.formatters.FormatStringParser for more information about the format 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
NameTypeDefaultDescription
patternstring The format pattern as defined in org.jboss.logmanager.formatters.FormatStringParser.
color-mapstring 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

Defines a formatter to be used to format log messages. Note that most log records are formatted in the printf format. Formatters may require invocation of org.jboss.logmanager.ExtLogRecord#getFormattedMessage() for the message to be properly formatted.
NameTypeDefaultDescription
modulestring
classstring

properties?

A collection of free-form properties.

property

NameTypeDefaultDescription
namestring
valuestring

json-formatter

Defines a JSON formatter to be used to format log messages.

NameTypeDefaultDescription
date-formatstring The date/time format pattern. The pattern must be a valid java.time.format.DateTimeFormatter.ofPattern() pattern.
pretty-printbooleanfalse Indicates whether or not pretty printing should be used when formatting.
print-detailsbooleanfalse 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-idstring 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.
NameTypeDefaultDescription
value
detailed The cause, if present, will be an array of stack trace elements. This will include suppressed exceptions and the cause of the exception.
formatted The cause, if present, will be a string representation of the stack trace in a stackTrace property. The property value is a string created by Throwable.printStackTrace().
detailed-and-formatted The cause, if present, will be a string representation of the stack trace in a stackTrace property. The property value is a string created by Throwable.printStackTrace().

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.

NameTypeDefaultDescription
valuestring

key-overrides?

Allows the names of the keys or elements for the properties to be overridden.

NameTypeDefaultDescription
exceptionstring
exception-caused-bystring
exception-circular-referencestring
exception-framestring
exception-frame-classstring
exception-frame-linestring
exception-frame-methodstring
exception-framesstring
exception-messagestring
exception-reference-idstring
exception-suppressedstring
exception-typestring
host-namestring
levelstring
logger-class-namestring
logger-namestring
mdcstring
messagestring
ndcstring
process-idstring
process-namestring
recordstring
sequencestring
source-class-namestring
source-file-namestring
source-line-numberstring
source-method-namestring
source-module-namestring
source-module-versionstring
stack-tracestring
thread-idstring
thread-namestring
timestampstring

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

NameTypeDefaultDescription
namestring
valuestring

xml-formatter

Defines a XML formatter to be used to format log messages.

NameTypeDefaultDescription
namespace-uristring Allows the namespace to be overridden. If not defined a default will be used.
print-namespacebooleanfalse Indicates whether or no the namespace should be added to each record element.
NameTypeDefaultDescription
date-formatstring The date/time format pattern. The pattern must be a valid java.time.format.DateTimeFormatter.ofPattern() pattern.
pretty-printbooleanfalse Indicates whether or not pretty printing should be used when formatting.
print-detailsbooleanfalse 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-idstring 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.
NameTypeDefaultDescription
value
detailed The cause, if present, will be an array of stack trace elements. This will include suppressed exceptions and the cause of the exception.
formatted The cause, if present, will be a string representation of the stack trace in a stackTrace property. The property value is a string created by Throwable.printStackTrace().
detailed-and-formatted The cause, if present, will be a string representation of the stack trace in a stackTrace property. The property value is a string created by Throwable.printStackTrace().

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.

NameTypeDefaultDescription
valuestring

key-overrides?

Allows the names of the keys or elements for the properties to be overridden.

NameTypeDefaultDescription
exceptionstring
exception-caused-bystring
exception-circular-referencestring
exception-framestring
exception-frame-classstring
exception-frame-linestring
exception-frame-methodstring
exception-framesstring
exception-messagestring
exception-reference-idstring
exception-suppressedstring
exception-typestring
host-namestring
levelstring
logger-class-namestring
logger-namestring
mdcstring
messagestring
ndcstring
process-idstring
process-namestring
recordstring
sequencestring
source-class-namestring
source-file-namestring
source-line-numberstring
source-method-namestring
source-module-namestring
source-module-versionstring
stack-tracestring
thread-idstring
thread-namestring
timestampstring

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

NameTypeDefaultDescription
namestring
valuestring

filter

Defines a filter to be used to filter log messages.
NameTypeDefaultDescription
modulestring
classstring
namestring

constructor-properties?

A collection of free-form properties.

property

NameTypeDefaultDescription
namestring
valuestring

properties?

A collection of free-form properties.

property

NameTypeDefaultDescription
namestring
valuestring
Expand/Collapse All