package io.quarkus.runtime.logging;

import java.util.Map;
import java.util.logging.Level;

import io.quarkus.runtime.annotations.ConfigDocSection;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

/**
 *
 */
@ConfigRoot(phase = ConfigPhase.RUN_TIME)
public final class LogConfig {

    /**
     * The log level of the root category, which is used as the default log level for all categories.
     *
     * In addition to the standard JDK log level JBoss Logging also adds the following:
     *
     * {@link org.jboss.logmanager.Level#FATAL}
     * {@link org.jboss.logmanager.Level#ERROR}
     * {@link org.jboss.logmanager.Level#WARN}
     * {@link org.jboss.logmanager.Level#INFO}
     * {@link org.jboss.logmanager.Level#DEBUG}
     * {@link org.jboss.logmanager.Level#TRACE}
     *
     */
    @ConfigItem(defaultValue = "INFO")
    public Level level;

    /**
     * The default minimum log level
     */
    @ConfigItem(defaultValue = "INFO")
    public Level minLevel;

    /**
     * Logging categories.
     * <p>
     * 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.
     */
    @ConfigItem(name = "category")
    @ConfigDocSection
    public Map<String, CategoryConfig> categories;

    /**
     * Console handlers.
     * <p>
     * The named console handlers configured here can be linked on one or more categories.
     */
    @ConfigItem(name = "handler.console")
    @ConfigDocSection
    public Map<String, ConsoleConfig> consoleHandlers;

    /**
     * File handlers.
     * <p>
     * The named file handlers configured here can be linked on one or more categories.
     */
    @ConfigItem(name = "handler.file")
    @ConfigDocSection
    public Map<String, FileConfig> fileHandlers;

    /**
     * Syslog handlers.
     * <p>
     * The named syslog handlers configured here can be linked on one or more categories.
     */
    @ConfigItem(name = "handler.syslog")
    @ConfigDocSection
    public Map<String, SyslogConfig> syslogHandlers;

    /**
     * Console logging.
     * <p>
     * Console logging is enabled by default.
     */
    @ConfigDocSection
    public ConsoleConfig console;

    /**
     * File logging.
     * <p>
     * Logging to a file is also supported but not enabled by default.
     */
    @ConfigDocSection
    public FileConfig file;

    /**
     * Syslog logging.
     * <p>
     * Logging to a syslog is also supported but not enabled by default.
     */
    @ConfigDocSection
    public SyslogConfig syslog;

    /**
     * Log cleanup filters - internal use.
     */
    @ConfigItem(name = "filter")
    @ConfigDocSection
    public Map<String, CleanupFilterConfig> filters;
}

@@ -1071,24 +1071,526 @@
  minLevel;%0A%0A
+    /**%0A     * Console logging.%0A     * %3Cp%3E%0A     * Console logging is enabled by default.%0A     */%0A    @ConfigDocSection%0A    public ConsoleConfig console;%0A%0A    /**%0A     * File logging.%0A     * %3Cp%3E%0A     * Logging to a file is also supported but not enabled by default.%0A     */%0A    @ConfigDocSection%0A    public FileConfig file;%0A%0A    /**%0A     * Syslog logging.%0A     * %3Cp%3E%0A     * Logging to a syslog is also supported but not enabled by default.%0A     */%0A    @ConfigDocSection%0A    public SyslogConfig syslog;%0A%0A
     /**%0A    
@@ -2791,510 +2791,8 @@
 s;%0A%0A
-    /**%0A     * Console logging.%0A     * %3Cp%3E%0A     * Console logging is enabled by default.%0A     */%0A    @ConfigDocSection%0A    public ConsoleConfig console;%0A%0A    /**%0A     * File logging.%0A     * %3Cp%3E%0A     * Logging to a file is also supported but not enabled by default.%0A     */%0A    @ConfigDocSection%0A    public FileConfig file;%0A%0A    /**%0A     * Syslog logging.%0A     * %3Cp%3E%0A     * Logging to a syslog is also supported but not enabled by default.%0A     */%0A    @ConfigDocSection%0A    public SyslogConfig syslog;%0A%0A
     

Reorder the log config properties to tweak the doc reference