From 98f8611700eeebd0b4c047ff55bf5256196e159a Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 10 Dec 2020 10:19:39 -0800 Subject: [PATCH] fix: reduce log spam (#394) This message will be received on reconnect and/or when we receive multiple connections. It apparently shows up in logs quite frequently. --- pubsub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsub.go b/pubsub.go index 3483ba36..887b79ab 100644 --- a/pubsub.go +++ b/pubsub.go @@ -481,7 +481,7 @@ func (p *PubSub) processLoop(ctx context.Context) { select { case pid := <-p.newPeers: if _, ok := p.peers[pid]; ok { - log.Warn("already have connection to peer: ", pid) + log.Debug("already have connection to peer: ", pid) continue }