From 76853f064ac030a06f1855e37c17b3cd18652af0 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Mon, 13 Jul 2020 19:59:49 +0200 Subject: [PATCH] json logging again --- libp2p/protocols/pubsub/gossipsub.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/protocols/pubsub/gossipsub.nim b/libp2p/protocols/pubsub/gossipsub.nim index 75655a6..db23f42 100644 --- a/libp2p/protocols/pubsub/gossipsub.nim +++ b/libp2p/protocols/pubsub/gossipsub.nim @@ -510,7 +510,7 @@ method publish*(g: GossipSub, msg = Message.init(g.peerInfo, data, topic, g.sign) msgId = g.msgIdProvider(msg) - trace "publishing on topic", name = topic, peers = peers, msg + trace "publishing on topic", name = topic, peers = peers, msg = msg.shortLog() if msgId notin g.mcache: g.mcache.put(msgId, msg)