diff --git a/CHANGELOG.md b/CHANGELOG.md index fa4731ea..65f7ce50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - The `cancel`, `refund` and `punish` subcommands in ASB and CLI are run with the `--force` by default and the `--force` option has been removed. The force flag was used to ignore blockheight and protocol state checks. Users can still restart a swap with these checks using the `resume` subcommand. +- Changed log level of the "Advancing state", "Establishing Connection through Tor proxy" and "Connection through Tor established" log message from tracing to debug in the CLI. ### Added diff --git a/swap/src/network/tor_transport.rs b/swap/src/network/tor_transport.rs index 04484cd3..2bee690a 100644 --- a/swap/src/network/tor_transport.rs +++ b/swap/src/network/tor_transport.rs @@ -42,14 +42,14 @@ impl Transport for TorDialOnlyTransport { } let dial_future = async move { - tracing::trace!(address = %addr, "Establishing connection through Tor proxy"); + tracing::debug!(address = %addr, "Establishing connection through Tor proxy"); let stream = Socks5Stream::connect((Ipv4Addr::LOCALHOST, self.socks_port), address.to_string()) .await .map_err(|e| io::Error::new(io::ErrorKind::ConnectionRefused, e))?; - tracing::trace!("Connection through Tor established"); + tracing::debug!("Connection through Tor established"); Ok(TcpStream(stream.into_inner())) }; diff --git a/swap/src/protocol/bob/swap.rs b/swap/src/protocol/bob/swap.rs index 1369376c..e1e9f849 100644 --- a/swap/src/protocol/bob/swap.rs +++ b/swap/src/protocol/bob/swap.rs @@ -58,7 +58,7 @@ async fn next_state( monero_wallet: &monero::Wallet, monero_receive_address: monero::Address, ) -> Result { - tracing::trace!(%state, "Advancing state"); + tracing::debug!(%state, "Advancing state"); Ok(match state { BobState::Started {