Skip to content

Commit

Permalink
chore: change log level to debug when reloading
Browse files Browse the repository at this point in the history
This reloading could happen many times without being actionable and
adding noise to the logs.
There is already an info logging when there are changes on reloading.
  • Loading branch information
jeqo committed Oct 15, 2024
1 parent b1e1166 commit 680cfd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public final List<AuthorizationResult> authorize(final AuthorizableRequestContex
* Read ACL entries from config file.
*/
private List<AivenAcl> loadAcls(final AclJsonReader jsonReader) {
LOGGER.info("Reloading ACL configuration...");
LOGGER.debug("Reloading ACL configuration...");
try {
return jsonReader.read();
} catch (final JsonReaderException ex) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void configure(final Map<String, ?> configs,
final List<AppConfigurationEntry> jaasConfigEntries) {
configFileLocation = JaasContext.configEntryOption(
jaasConfigEntries, "users.config", PlainLoginModule.class.getName());
LOGGER.info("Using configuration file {}", configFileLocation);
LOGGER.debug("Using configuration file {}", configFileLocation);
jsonReader = new UsernamePasswordJsonReader(Paths.get(configFileLocation));
}

Expand Down

0 comments on commit 680cfd9

Please sign in to comment.