You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/04 09:08:00 UTC

[jira] [Commented] (KAFKA-7478) Reduce OAuthBearerLoginModule verbosity

    [ https://issues.apache.org/jira/browse/KAFKA-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16637955#comment-16637955 ] 

ASF GitHub Bot commented on KAFKA-7478:
---------------------------------------

stanislavkozlovski opened a new pull request #5738: KAFKA-7478: Reduce default logging verbosity in OAuthBearerLoginModule
URL: https://github.com/apache/kafka/pull/5738
 
 
   The default `OAuthBearerLoginModule` is too noisy. My reasoning is that:
   
   - Successful logins should be shown in `DEBUG`
   - DEBUG should not be too noisy either
   - Login aborted should be in `DEBUG` since authentication failures are always logged

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Reduce OAuthBearerLoginModule verbosity
> ---------------------------------------
>
>                 Key: KAFKA-7478
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7478
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Stanislav Kozlovski
>            Assignee: Stanislav Kozlovski
>            Priority: Minor
>
> The OAuthBearerLoginModule is pretty verbose by default and this fills logs in with too much information. It would be nice if we could reduce the verbosity by default and let the user opt in to inspect these debug-friendly messages
> {code:java}
> [INFO] 2018-10-03 16:58:11,986 [qtp1137078855-1798] org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule login - Login succeeded; invoke commit() to commit it; current committed token count=0 
> [INFO] 2018-10-03 16:58:11,986 [qtp1137078855-1798] org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule commit - Committing my token; current committed token count = 0 
> [INFO] 2018-10-03 16:58:11,986 [qtp1137078855-1798] org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule commit - Done committing my token; committed token count is now 1
> [INFO] 2018-10-03 16:58:11,986 [qtp1137078855-1798] org.apache.kafka.common.security.oauthbearer.internals.expiring.ExpiringCredentialRefreshingLogin login - Successfully logged in.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)