All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.runtime.logging.LogBuildTimeConfig Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
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(name = "log", phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED)
public class LogBuildTimeConfig {

    /**
     * If enabled and a metrics extension is present, logging metrics are published.
     */
    @ConfigItem(name = "metrics.enabled", defaultValue = "false")
    public boolean metricsEnabled;

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

    /**
     * Minimum logging categories.
     * 

* Logging is done on a per-category basis. Each category can be configured independently. * 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. */ @ConfigItem(name = "category") @ConfigDocSection public Map categories; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy