From ea1eafea5eec63131ca16c84fcc065a23d8456ff Mon Sep 17 00:00:00 2001 From: Jorge Esteban Quilcate Otoya Date: Wed, 24 Jan 2024 13:09:29 -0500 Subject: [PATCH] chore: reduce logging when auth is successful this is constantly logged without any action needed. Can switch to DEBUG to reduce logging impact. --- .../aiven/kafka/auth/AivenSaslPlainServerCallbackHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/aiven/kafka/auth/AivenSaslPlainServerCallbackHandler.java b/src/main/java/io/aiven/kafka/auth/AivenSaslPlainServerCallbackHandler.java index 21ee631..f0bc516 100644 --- a/src/main/java/io/aiven/kafka/auth/AivenSaslPlainServerCallbackHandler.java +++ b/src/main/java/io/aiven/kafka/auth/AivenSaslPlainServerCallbackHandler.java @@ -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);