From 7a3d0ca396373248e54771b3c51c9fbfbea3a342 Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 1 Apr 2021 19:03:06 +0300 Subject: [PATCH] demote log spam to debug --- pubsub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsub.go b/pubsub.go index bd1f40e..4a77c69 100644 --- a/pubsub.go +++ b/pubsub.go @@ -529,7 +529,7 @@ func (p *PubSub) processLoop(ctx context.Context) { if p.host.Network().Connectedness(pid) == network.Connected { // still connected, must be a duplicate connection being closed. // we respawn the writer as we need to ensure there is a stream active - log.Warn("peer declared dead but still connected; respawning writer: ", pid) + log.Debugf("peer declared dead but still connected; respawning writer: %s", pid) messages := make(chan *RPC, p.peerOutboundQueueSize) messages <- p.getHelloPacket() go p.handleNewPeer(ctx, pid, messages) -- GitLab