Skip to content

Commit

Permalink
More debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Dec 18, 2024
1 parent 9af53da commit 33ffae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/forward_traffic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async fn forward_datagrams_in_buffer(udp_out: &UdpSocket, buffer: &[u8]) -> io::
datagram_data.len(),
"Did not send entire UDP datagram"
);
log::trace!("Forwarded {} bytes TCP->UDP", datagram_data.len());
log::info!("Forwarded {} bytes TCP->UDP", datagram_data.len());

unprocessed_buffer = tail;
}
Expand Down Expand Up @@ -158,7 +158,7 @@ pub async fn process_udp2tcp(
.await
.context("Failed writing to TCP")?;

log::trace!("Forwarded {} bytes UDP->TCP", udp_read_len);
log::info!("Forwarded {} bytes UDP->TCP", udp_read_len);
}
}

Expand Down

0 comments on commit 33ffae2

Please sign in to comment.