diff --git a/beacon-chain/sync/deadlines.go b/beacon-chain/sync/deadlines.go index 178ce31e6..5bcea75f2 100644 --- a/beacon-chain/sync/deadlines.go +++ b/beacon-chain/sync/deadlines.go @@ -19,7 +19,7 @@ func setStreamReadDeadline(stream network.Stream, duration time.Duration) { // libp2p uses the system clock time for determining the deadline so we use // time.Now() instead of the synchronized roughtime.Now(). if err := stream.SetReadDeadline(time.Now().Add(duration)); err != nil { - log.WithError(err).Error("Failed to set stream deadline") + log.WithError(err).Debug("Failed to set stream deadline") } } @@ -27,6 +27,6 @@ func setStreamWriteDeadline(stream network.Stream, duration time.Duration) { // libp2p uses the system clock time for determining the deadline so we use // time.Now() instead of the synchronized roughtime.Now(). if err := stream.SetWriteDeadline(time.Now().Add(duration)); err != nil { - log.WithError(err).Error("Failed to set stream deadline") + log.WithError(err).Debug("Failed to set stream deadline") } } diff --git a/beacon-chain/sync/rpc_ping.go b/beacon-chain/sync/rpc_ping.go index 759a073b6..61e8f54be 100644 --- a/beacon-chain/sync/rpc_ping.go +++ b/beacon-chain/sync/rpc_ping.go @@ -35,7 +35,7 @@ func (r *Service) pingHandler(ctx context.Context, msg interface{}, stream libp2 go func() { md, err := r.sendMetaDataRequest(ctx, stream.Conn().RemotePeer()) if err != nil { - log.WithField("peer", stream.Conn().RemotePeer()).WithError(err).Error("Failed to send metadata request") + log.WithField("peer", stream.Conn().RemotePeer()).WithError(err).Debug("Failed to send metadata request") return } // update metadata if there is no error