Skip to content

Commit

Permalink
Merge pull request #12 from xnorpx/dev/tune_tracing
Browse files Browse the repository at this point in the history
Move per packet log from debug to trace
  • Loading branch information
rainliu authored May 1, 2024
2 parents 7534d10 + 977bc59 commit c787e58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/association/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit c787e58

Please # to comment.