[relay] change log levels (#2580)

This commit is contained in:
Zoltan Papp 2024-09-11 18:36:19 +02:00 committed by GitHub
parent 2d1bf3982d
commit 9cfc8f8aa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}

View File

@ -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
}