@ConfigRoot(name="log", phase=BUILD_AND_RUN_TIME_FIXED) public class LogBuildTimeConfig extends Object
Modifier and Type | Field and Description |
---|---|
Map<String,CategoryBuildTimeConfig> |
categories
Minimum logging categories.
|
boolean |
metricsEnabled
Whether or not logging metrics are published in case a metrics extension is present.
|
Level |
minLevel
The default minimum log level.
|
Constructor and Description |
---|
LogBuildTimeConfig() |
@ConfigItem(name="metrics.enabled", defaultValue="false") public boolean metricsEnabled
@ConfigItem(defaultValue="DEBUG") public Level minLevel
@ConfigItem(name="category") @ConfigDocSection public Map<String,CategoryBuildTimeConfig> categories
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.
Copyright © 2021 JBoss by Red Hat. All rights reserved.