[
https://issues.apache.org/jira/browse/KAFKA-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajini Sivaram resolved KAFKA-7478.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
> 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
> Fix For: 2.2.0
>
>
> 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)