Skip to content

Commit

Permalink
Raise logging level to ERROR for config file matches with inactive …
Browse files Browse the repository at this point in the history
…`ConfigurationFactory`s (#1592)

Co-authored-by: Łukasz Spyra (@lukaszspyra)
  • Loading branch information
vy committed Jan 22, 2024
1 parent cc2e789 commit 5d47e93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ private Configuration getConfiguration(
final ConfigurationSource source = ConfigurationSource.fromResource(configName, loader);
if (source != null) {
if (!factory.isActive()) {
LOGGER.warn(
"Found configuration file {} for inactive ConfigurationFactory {}",
LOGGER.error(
"Found configuration file `{}` for the inactive `{}`. This `ConfigurationFactory` implementation might be inactive due to a missing dependency.",
configName,
factory.getClass().getName());
}
Expand Down

0 comments on commit 5d47e93

Please sign in to comment.