diff --git a/edge-apis/clients.go b/edge-apis/clients.go index b7c01349..446d3f5f 100644 --- a/edge-apis/clients.go +++ b/edge-apis/clients.go @@ -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 } diff --git a/edge-apis/pool.go b/edge-apis/pool.go index d40a4ecc..092aa4ac 100644 --- a/edge-apis/pool.go +++ b/edge-apis/pool.go @@ -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) } @@ -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