Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move a few info logs to debug #549

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading