Skip to content

Commit

Permalink
Move a few info logs to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
plorenz committed Apr 17, 2024
1 parent a2af1de commit 2b089a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion edge-apis/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (self *BaseClient[A]) ProcessControllers(authEnabledApi AuthEnabledApi) {
}

if list == nil || len(*list) <= 1 {
pfxlog.Logger().Info("no additional controllers reported, continuing with 1 default configured controller")
pfxlog.Logger().Debug("no additional controllers reported, continuing with 1 default configured controller")
return
}

Expand Down
4 changes: 2 additions & 2 deletions edge-apis/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func NewClientTransportPoolRandom() *ClientTransportPoolRandom {
}

func (c *ClientTransportPoolRandom) SetActiveTransport(transport *ApiClientTransport) {
pfxlog.Logger().WithField("key", transport.ApiUrl.String()).Info("setting active controller")
pfxlog.Logger().WithField("key", transport.ApiUrl.String()).Debug("setting active controller")
c.current.Store(transport)
}

Expand Down Expand Up @@ -181,7 +181,7 @@ func (c *ClientTransportPoolRandom) TryTransportForF(cb func(*ApiClientTransport
if err == nil {
return result, err
}

if !errorIndicatesControllerSwap(err) {
pfxlog.Logger().WithError(err).Debugf("determined that error (%T) does not indicate controller swap, returning error", err)
return result, err
Expand Down

0 comments on commit 2b089a9

Please sign in to comment.