Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1501: increase default StatusLogger level to warn #1592

Draft
wants to merge 6 commits into
base: 2.x
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ private Configuration getConfiguration(final LoggerContext loggerContext, final
final ConfigurationSource source = ConfigurationSource.fromResource(configName, loader);
if (source != null) {
if (!factory.isActive()) {
LOGGER.warn("Found configuration file {} for inactive ConfigurationFactory {}", configName, factory.getClass().getName());
LOGGER.error("Found configuration file {} for inactive ConfigurationFactory {} - missing dependencies", configName, factory.getClass().getName());
}
return factory.getConfiguration(loggerContext, source);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ private PrintStream parseStreamName(final String name) throws URISyntaxException

/**
* Specifies the logging level by name to use for filtering StatusLogger messages.
* Defaults to {@link Level#ERROR} for invalid level name.
*
* @param status name of logger level to filter below.
* @return {@code this}
Expand Down