You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/09/15 09:25:27 UTC

[GitHub] [kafka] rajinisivaram commented on a change in pull request #9236: MINOR: Log warn message with details when there's kerberos login issue

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:
users@infra.apache.org