From 4143f9084736f3947f35cdae12db4ca7abcb612b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Sat, 17 Dec 2022 08:25:08 +0100 Subject: [PATCH] Authority discovery: Log when we found addresses for an authority (#12960) --- client/authority-discovery/src/worker/addr_cache.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/authority-discovery/src/worker/addr_cache.rs b/client/authority-discovery/src/worker/addr_cache.rs index 19bbbf0b62e7e..4859413a8cefd 100644 --- a/client/authority-discovery/src/worker/addr_cache.rs +++ b/client/authority-discovery/src/worker/addr_cache.rs @@ -69,6 +69,11 @@ impl AddrCache { ); } + log::debug!( + target: super::LOG_TARGET, + "Found addresses for authority {authority_id:?}: {addresses:?}", + ); + let old_addresses = self.authority_id_to_addresses.insert(authority_id.clone(), addresses); let old_peer_ids = addresses_to_peer_ids(&old_addresses.unwrap_or_default());