Skip to content

Commit

Permalink
Change token logging to trace level (#2247) (#2248)
Browse files Browse the repository at this point in the history
Changed from `info` to `trace`.

Backport of #2247.

Tested on v1.0.2.
  • Loading branch information
zc-devs authored Aug 18, 2023
1 parent c67be30 commit c96faa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/rpc/auth_interceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package rpc

import (
"context"
"log"
"time"

"github.com/rs/zerolog/log"
"google.golang.org/grpc"
"google.golang.org/grpc/metadata"
)
Expand Down Expand Up @@ -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
}

0 comments on commit c96faa4

Please sign in to comment.