Stanislav Kozlovski created KAFKA-7478:
------------------------------------------

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


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)

Reply via email to