From d849110c6b1e472949035051338fe9ba102429d6 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Fri, 14 May 2021 16:31:03 +0200 Subject: [PATCH] Small improvement to network log line (#8811) * Small improvement to network log line * Use {:?} for the set_id --- .../client/network/src/protocol/notifications/behaviour.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/client/network/src/protocol/notifications/behaviour.rs b/substrate/client/network/src/protocol/notifications/behaviour.rs index 0a883543de..84f15c8be3 100644 --- a/substrate/client/network/src/protocol/notifications/behaviour.rs +++ b/substrate/client/network/src/protocol/notifications/behaviour.rs @@ -1765,7 +1765,7 @@ impl NetworkBehaviour for Notifications { *c == connection && matches!(s, ConnectionState::Opening)) { if !any_open { - trace!(target: "sub-libp2p", "External API <= Open({:?})", source); + trace!(target: "sub-libp2p", "External API <= Open({}, {:?})", source, set_id); let event = NotificationsOut::CustomProtocolOpen { peer_id: source, set_id,