Skip to content

Commit

Permalink
chore: reduce logging when auth is successful
Browse files Browse the repository at this point in the history
this is constantly logged without any action needed. Can switch to DEBUG to reduce logging impact.
  • Loading branch information
jeqo committed Jan 24, 2024
1 parent d633cdb commit ea1eafe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public boolean authenticate(final String username, final char[] password) {
LOGGER.error("Authentication failed for {}, no password set", username);
return false;
} else if (storedPassword.equals(strPassword)) {
LOGGER.info("Authentication successful for {}", username);
LOGGER.debug("Authentication successful for {}", username);
return true;
} else {
LOGGER.error("Authentication failed for {}, invalid password", username);
Expand Down

0 comments on commit ea1eafe

Please sign in to comment.