From 03f5bbba6ddd5012753debd4b677df9f5822755d Mon Sep 17 00:00:00 2001 From: Mamy Ratsimbazafy Date: Tue, 29 Sep 2020 17:40:06 +0200 Subject: [PATCH] saner logging (#381) --- libp2p/protocols/pubsub/gossipsub10.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/protocols/pubsub/gossipsub10.nim b/libp2p/protocols/pubsub/gossipsub10.nim index 4ce0091b8..01afcfebf 100644 --- a/libp2p/protocols/pubsub/gossipsub10.nim +++ b/libp2p/protocols/pubsub/gossipsub10.nim @@ -492,7 +492,7 @@ method rpcHandler*(g: GossipSub, if respControl.graft.len > 0 or respControl.prune.len > 0 or respControl.ihave.len > 0 or messages.len > 0: - debug "sending control message", msg = shortLog(respControl), peer + trace "sending control message", msg = shortLog(respControl), peer g.send( peer, RPCMsg(control: some(respControl), messages: messages)) @@ -627,4 +627,4 @@ method initPubSub*(g: GossipSub) = g.gossipsub = initTable[string, HashSet[PubSubPeer]]()# topic to peer map of all gossipsub peers g.lastFanoutPubSub = initTable[string, Moment]() # last publish time for fanout topics g.gossip = initTable[string, seq[ControlIHave]]() # pending gossip - g.control = initTable[string, ControlMessage]() # pending control messages \ No newline at end of file + g.control = initTable[string, ControlMessage]() # pending control messages