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>categoriesLogging categories.ConsoleConfigconsoleConsole logging.Map<String,ConsoleConfig>consoleHandlersConsole handlers.FileConfigfileFile logging.Map<String,FileConfig>fileHandlersFile handlers.Map<String,CleanupFilterConfig>filtersLog cleanup filters - internal use.(package private) Optional<List<String>>handlersThe names of additional handlers to link to the root category.LevellevelThe log level of the root category, which is used as the default log level for all categories.SyslogConfigsyslogSyslog logging.Map<String,SyslogConfig>syslogHandlersSyslog 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.TRACEIn 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 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
@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 to 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 to one or more categories.
-
filters
@ConfigItem(name="filter") @ConfigDocSection public Map<String,CleanupFilterConfig> filters
Log cleanup filters - internal use.
-
handlers
@ConfigItem Optional<List<String>> handlers
The names of additional handlers to link to the root category. These handlers are defined in consoleHandlers, fileHandlers, or syslogHandlers.
-
-