stackdriver: change info logging to debug logging

This commit is contained in:
Daniel Lee 2018-09-28 16:15:57 +02:00
parent 41060d24d5
commit d11f67eb25

View File

@ -111,7 +111,7 @@ func (provider *accessTokenProvider) getJwtAccessToken(ctx context.Context, data
defer oauthJwtTokenCache.Unlock()
if cachedToken, found := oauthJwtTokenCache.cache[provider.getAccessTokenCacheKey()]; found {
if cachedToken.Expiry.After(time.Now().Add(time.Second * 10)) {
logger.Info("Using token from cache")
logger.Debug("Using token from cache")
return cachedToken.AccessToken, nil
}
}