Package io.quarkus.runtime.logging
Interface LogBuildTimeConfig
@ConfigMapping(prefix="quarkus.log")
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
public interface LogBuildTimeConfig
Logging
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionMinimum logging categories.boolean
This will decorate the stacktrace in dev mode to show the line in the code that cause the exceptionboolean
If enabled and a metrics extension is present, logging metrics are published.@WithConverter(LevelConverter.class) Level
minLevel()
The default minimum log level.
-
Method Details
-
metricsEnabled
@WithName("metrics.enabled") @WithDefault("false") boolean metricsEnabled()If enabled and a metrics extension is present, logging metrics are published. -
minLevel
@WithDefault("DEBUG") @WithConverter(LevelConverter.class) @WithConverter(LevelConverter.class) Level minLevel()The default minimum log level. -
decorateStacktraces
@WithDefault("true") boolean decorateStacktraces()This will decorate the stacktrace in dev mode to show the line in the code that cause the exception -
categories
@WithName("category") @ConfigDocSection Map<String,LogBuildTimeConfig.CategoryBuildTimeConfig> categories()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.
-