omkreddy commented on a change in pull request #9236:
URL: https://github.com/apache/kafka/pull/9236#discussion_r491437035



##########
File path: 
clients/src/main/java/org/apache/kafka/common/security/kerberos/KerberosLogin.java
##########
@@ -213,6 +213,7 @@ public LoginContext login() throws LoginException {
                             break;
                         } catch (Exception e) {
                             if (retry > 0) {
+                                log.warn("[Principal={}]: Error when trying to 
renew with TicketCache, but will retry ", principal, e);

Review comment:
       slf4j logger methods logs exception if the last argument is throwable. 
so this is fine.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to