chore: demote per-packet debug logs to trace
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user