mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-16 10:20:09 +01:00
[relay] change log levels (#2580)
This commit is contained in:
parent
2d1bf3982d
commit
9cfc8f8aa4
@ -103,7 +103,7 @@ func (m *Metrics) PeerActivity(peerID string) {
|
|||||||
select {
|
select {
|
||||||
case m.peerActivityChan <- peerID:
|
case m.peerActivityChan <- peerID:
|
||||||
default:
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ func (p *Peer) handleTransportMsg(msg []byte) {
|
|||||||
stringPeerID := messages.HashIDToString(peerID)
|
stringPeerID := messages.HashIDToString(peerID)
|
||||||
dp, ok := p.store.Peer(stringPeerID)
|
dp, ok := p.store.Peer(stringPeerID)
|
||||||
if !ok {
|
if !ok {
|
||||||
p.log.Errorf("peer not found: %s", stringPeerID)
|
p.log.Debugf("peer not found: %s", stringPeerID)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user