mirror of
https://github.com/grafana/grafana.git
synced 2025-01-19 21:13:35 -06:00
stackdriver: change info logging to debug logging
This commit is contained in:
parent
41060d24d5
commit
d11f67eb25
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user