Interface LogRuntimeConfig
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionLogging categories.console()
Console logging.Console handlers.file()
File logging.File handlers.filters()
Log cleanup filters - internal use.handlers()
The names of additional handlers to link to the root category.@WithConverter(LevelConverter.class) Level
level()
The log level of the root category, which is used as the default log level for all categories.socket()
Socket logging.Socket handlers.syslog()
Syslog logging.Syslog handlers.
-
Method Details
-
level
@WithDefault("INFO") @WithConverter(LevelConverter.class) @WithConverter(LevelConverter.class) Level level()The log level of the root category, which is used as the default log level for all categories.JBoss Logging supports Apache-style log levels:
*
Level.FATAL
*Level.ERROR
*Level.WARN
*Level.INFO
*Level.DEBUG
*Level.TRACE
In addition, it also supports the standard JDK log levels. -
console
Console logging.Console logging is enabled by default.
-
file
File logging.Logging to a file is also supported but not enabled by default.
-
syslog
Syslog logging.Logging to a syslog is also supported but not enabled by default.
-
socket
Socket logging.Logging to a socket is also supported but not enabled by default.
-
categories
Logging categories.Logging is done on a per-category basis. Each category can be independently configured. A configuration that applies to a category will also apply to all sub-categories of that category, unless there is a more specific matching sub-category configuration.
-
consoleHandlers
@WithName("handler.console") @ConfigDocSection Map<String,LogRuntimeConfig.ConsoleConfig> consoleHandlers()Console handlers.The named console handlers configured here can be linked on one or more categories.
-
fileHandlers
File handlers.The named file handlers configured here can be linked to one or more categories.
-
syslogHandlers
@WithName("handler.syslog") @ConfigDocSection Map<String,LogRuntimeConfig.SyslogConfig> syslogHandlers()Syslog handlers.The named syslog handlers configured here can be linked to one or more categories.
-
socketHandlers
@WithName("handler.socket") @ConfigDocSection Map<String,LogRuntimeConfig.SocketConfig> socketHandlers()Socket handlers.The named socket handlers configured here can be linked to one or more categories.
-
filters
Log cleanup filters - internal use. -
handlers
The names of additional handlers to link to the root category. These handlers are defined in consoleHandlers, fileHandlers, or syslogHandlers.
-