From 977bc59de0b78b2d0d4f45ef458b02036b16f8fa Mon Sep 17 00:00:00 2001 From: Marcus Asteborg Date: Tue, 30 Apr 2024 09:21:08 -0700 Subject: [PATCH] Move per packet log from debug to trace --- src/association/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/association/mod.rs b/src/association/mod.rs index 6ccc714..fb96025 100644 --- a/src/association/mod.rs +++ b/src/association/mod.rs @@ -483,8 +483,8 @@ impl Association { }*/ if let Payload::PartialDecode(partial_decode) = transmit.payload { - debug!( - "[{}] recving {} bytes", + trace!( + "[{}] receiving {} bytes", self.side, COMMON_HEADER_SIZE as usize + partial_decode.remaining.len() ); @@ -2215,7 +2215,7 @@ impl Association { if self.ack_state == AckState::Immediate { self.ack_state = AckState::Idle; let sack = self.create_selective_ack_chunk(); - debug!("[{}] sending SACK: {}", self.side, sack); + trace!("[{}] sending SACK: {}", self.side, sack); if let Ok(raw) = self.create_packet(vec![Box::new(sack)]).marshal() { raw_packets.push(raw); } else {