Class LogConfig

java.lang.Object
io.quarkus.runtime.logging.LogConfig

@ConfigRoot(phase=RUN_TIME) public final class LogConfig extends Object
  • Field Details

    • 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

      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.

    • 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

      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.
  • Constructor Details

    • LogConfig

      public LogConfig()