diff --git a/cmd/observer/node_builder/observer_builder.go b/cmd/observer/node_builder/observer_builder.go index 9bf08313a48..9a0bb552510 100644 --- a/cmd/observer/node_builder/observer_builder.go +++ b/cmd/observer/node_builder/observer_builder.go @@ -938,7 +938,7 @@ func (builder *ObserverServiceBuilder) InitIDProviders() { if flowID, err := builder.IDTranslator.GetFlowID(pid); err != nil { // TODO: this is an instance of "log error and continue with best effort" anti-pattern - builder.Logger.Err(err).Str("peer", p2plogging.PeerId(pid)).Msg("failed to translate to Flow ID") + builder.Logger.Debug().Str("peer", p2plogging.PeerId(pid)).Msg("failed to translate to Flow ID") } else { result = append(result, flowID) } diff --git a/cmd/utils.go b/cmd/utils.go index a3464bceb7b..536483cabc2 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -157,7 +157,7 @@ func CreatePublicIDTranslatorAndIdentifierProvider( if flowID, err := idTranslator.GetFlowID(pid); err != nil { // TODO: this is an instance of "log error and continue with best effort" anti-pattern - logger.Err(err).Str("peer", p2plogging.PeerId(pid)).Msg("failed to translate to Flow ID") + logger.Debug().Str("peer", p2plogging.PeerId(pid)).Msg("failed to translate to Flow ID") } else { result = append(result, flowID) }