chore: demote per-packet debug logs to trace

This commit is contained in:
2026-08-08 13:42:08 +01:00
parent f0a40efc25
commit 98febe4bf3
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ use tokio::{
net::UdpSocket,
sync::mpsc::{self, Receiver},
};
use tracing::{debug, error, info, warn};
use tracing::{debug, error, info, trace, warn};
pub struct WebRtcProxyConfig {
pub proxy_port: i32,
@@ -97,7 +97,7 @@ impl WebrtcProxy {
// By addr
if let Some(tx) = by_addr.get(&from) {
debug!(
trace!(
"proxy: routing {} bytes by addr {}:{} → channel",
b,
from.ip(),
@@ -120,7 +120,7 @@ impl WebrtcProxy {
};
let Some((part1, part2)) = self::WebrtcProxy::ufrag_pair(&data) else {
debug!("huh, packet isnt stun or added as client.");
trace!("huh, packet isnt stun or added as client.");
continue;
};
// Try both parts of the STUN username — the first packet