Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7478

Reduce OAuthBearerLoginModule verbosity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • None

    Description

      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

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

      Attachments

        Issue Links

          Activity

            People

              enether Stanislav Kozlovski
              enether Stanislav Kozlovski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: