From effd53510d7d3d984e5a89357e76db4d96777a30 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 17 Nov 2022 12:01:57 -0500 Subject: [PATCH] ChanMgr: Log every conection attempt at debug. --- crates/tor-chanmgr/src/factory.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/tor-chanmgr/src/factory.rs b/crates/tor-chanmgr/src/factory.rs index 870a30b54..59f7ab082 100644 --- a/crates/tor-chanmgr/src/factory.rs +++ b/crates/tor-chanmgr/src/factory.rs @@ -10,6 +10,7 @@ use tor_linkspec::OwnedChanTarget; use tor_proto::channel::Channel; pub use registry::TransportRegistry; +use tracing::debug; /// An object that knows how to build `Channels` to `ChanTarget`s. /// @@ -58,6 +59,7 @@ where type BuildSpec = OwnedChanTarget; async fn build_channel(&self, target: &Self::BuildSpec) -> crate::Result { + debug!("Attempting to open a new channel to {target}"); self.connect_via_transport(target).await } }