Package io.quarkus.runtime.logging
Class LogConfig
- java.lang.Object
-
- io.quarkus.runtime.logging.LogConfig
-
@ConfigRoot(phase=RUN_TIME) public final class LogConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,CategoryConfig>
categories
Logging categories.ConsoleConfig
console
Console logging.Map<String,ConsoleConfig>
consoleHandlers
Console handlers.FileConfig
file
File logging.Map<String,FileConfig>
fileHandlers
File handlers.Map<String,CleanupFilterConfig>
filters
Log cleanup filters - internal use.Level
level
The log level of the root category, which is used as the default log level for all categories.SyslogConfig
syslog
Syslog logging.Map<String,SyslogConfig>
syslogHandlers
Syslog handlers.
-
Constructor Summary
Constructors Constructor Description LogConfig()
-
-
-
Field Detail
-
level
@ConfigItem(defaultValue="INFO") public 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
@ConfigDocSection public ConsoleConfig console
Console logging.Console logging is enabled by default.
-
file
@ConfigDocSection public FileConfig file
File logging.Logging to a file is also supported but not enabled by default.
-
syslog
@ConfigDocSection public SyslogConfig syslog
Syslog logging.Logging to a syslog is also supported but not enabled by default.
-
categories
@ConfigItem(name="category") @ConfigDocSection public Map<String,CategoryConfig> categories
Logging categories.Logging is done on a per-category basis. Each category can be independently configured. A configuration which 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
@ConfigItem(name="handler.console") @ConfigDocSection public Map<String,ConsoleConfig> consoleHandlers
Console handlers.The named console handlers configured here can be linked on one or more categories.
-
fileHandlers
@ConfigItem(name="handler.file") @ConfigDocSection public Map<String,FileConfig> fileHandlers
File handlers.The named file handlers configured here can be linked on one or more categories.
-
syslogHandlers
@ConfigItem(name="handler.syslog") @ConfigDocSection public Map<String,SyslogConfig> syslogHandlers
Syslog handlers.The named syslog handlers configured here can be linked on one or more categories.
-
filters
@ConfigItem(name="filter") @ConfigDocSection public Map<String,CleanupFilterConfig> filters
Log cleanup filters - internal use.
-
-