diff --git a/agent/rpc/auth_interceptor.go b/agent/rpc/auth_interceptor.go index 8ee40c9858..2abeccd49c 100644 --- a/agent/rpc/auth_interceptor.go +++ b/agent/rpc/auth_interceptor.go @@ -2,9 +2,9 @@ package rpc import ( "context" - "log" "time" + "github.com/rs/zerolog/log" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) @@ -93,7 +93,7 @@ func (interceptor *AuthInterceptor) refreshToken() error { } interceptor.accessToken = accessToken - log.Printf("Token refreshed: %v", accessToken) + log.Trace().Str("token", accessToken).Msg("Token refreshed") return nil }