From 9cfc8f8aa48d605467e1bfd80ed4608cc3d9e3ad Mon Sep 17 00:00:00 2001 From: Zoltan Papp Date: Wed, 11 Sep 2024 18:36:19 +0200 Subject: [PATCH] [relay] change log levels (#2580) --- relay/metrics/realy.go | 2 +- relay/server/peer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/relay/metrics/realy.go b/relay/metrics/realy.go index 80e12ee6b..13799713a 100644 --- a/relay/metrics/realy.go +++ b/relay/metrics/realy.go @@ -103,7 +103,7 @@ func (m *Metrics) PeerActivity(peerID string) { select { case m.peerActivityChan <- peerID: default: - log.Errorf("peer activity channel is full, dropping activity metrics for peer %s", peerID) + log.Tracef("peer activity channel is full, dropping activity metrics for peer %s", peerID) } } diff --git a/relay/server/peer.go b/relay/server/peer.go index a9583700a..0de601996 100644 --- a/relay/server/peer.go +++ b/relay/server/peer.go @@ -184,7 +184,7 @@ func (p *Peer) handleTransportMsg(msg []byte) { stringPeerID := messages.HashIDToString(peerID) dp, ok := p.store.Peer(stringPeerID) if !ok { - p.log.Errorf("peer not found: %s", stringPeerID) + p.log.Debugf("peer not found: %s", stringPeerID) return }