diff --git a/common/mixnode-common/src/rtt_measurement/listener.rs b/common/mixnode-common/src/rtt_measurement/listener.rs index e3a751de29..fad4e27ba1 100644 --- a/common/mixnode-common/src/rtt_measurement/listener.rs +++ b/common/mixnode-common/src/rtt_measurement/listener.rs @@ -79,8 +79,7 @@ impl ConnectionHandler { } pub(crate) async fn handle_connection(self: Arc, conn: TcpStream, remote: SocketAddr) { - // debug!("Starting connection handler for {:?}", remote); - info!("Starting connection handler for {:?}", remote); + debug!("Starting connection handler for {:?}", remote); let mut framed_conn = Framed::new(conn, EchoPacketCodec); while let Some(echo_packet) = framed_conn.next().await { diff --git a/common/mixnode-common/src/rtt_measurement/mod.rs b/common/mixnode-common/src/rtt_measurement/mod.rs index 0bd82d9b4d..4e0738d9e7 100644 --- a/common/mixnode-common/src/rtt_measurement/mod.rs +++ b/common/mixnode-common/src/rtt_measurement/mod.rs @@ -252,7 +252,7 @@ impl RttMeasurer { let execution_result = result.expect("the measurement task panicked!"); let measurement_result = match execution_result.0 { Err(err) => { - warn!( + debug!( "Failed to perform measurement for {} - {}", execution_result.1.to_base58_string(), err diff --git a/common/mixnode-common/src/rtt_measurement/sender.rs b/common/mixnode-common/src/rtt_measurement/sender.rs index 703ac33470..4c0de920e7 100644 --- a/common/mixnode-common/src/rtt_measurement/sender.rs +++ b/common/mixnode-common/src/rtt_measurement/sender.rs @@ -85,8 +85,7 @@ impl PacketSender { let mut results = Vec::with_capacity(self.packets_per_node); let mut seq = self.random_sequence_number(); - for i in 0..self.packets_per_node { - println!("packet {}/{}", i + 1, self.packets_per_node); + for _ in 0..self.packets_per_node { let packet = EchoPacket::new(seq, &self.identity); let start = tokio::time::Instant::now(); // TODO: should we get the start time after or before actually sending the data?