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



##########
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:
       @cnZach Looks like the intention was to print out the exception with 
stack trace? You would want to use:
   ```
   public void warn(String msg, Throwable t);
   ```




----------------------------------------------------------------
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