diff --git a/src/lib.rs b/src/lib.rs index 44b8cba5c..5ee3d816c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -430,10 +430,15 @@ pub fn init_log(_is_async: bool, _name: &str) -> Option = None; INIT.call_once(|| { + // webrtc-rs reports the racing design's normal outcome at warn: cancelling the transport + // that lost closes every gathered candidate one line at a time, and trickle means the + // agent always checks before it holds a pair. Both read as faults beside a connection + // that succeeded. agent_gather keeps its warn level - a STUN server it could not reach + // is the one upstream signal that explains a session which never connected. #[cfg(debug_assertions)] { use env_logger::*; - init_from_env(Env::default().filter_or(DEFAULT_FILTER_ENV, "info,reqwest=warn,rustls=warn,webrtc-sctp=warn,webrtc=warn")); + init_from_env(Env::default().filter_or(DEFAULT_FILTER_ENV, "info,reqwest=warn,rustls=warn,webrtc-sctp=warn,webrtc=warn,webrtc_ice::agent::agent_internal=error,webrtc::peer_connection=error")); } #[cfg(not(debug_assertions))] { @@ -448,7 +453,7 @@ pub fn init_log(_is_async: bool, _name: &str) -> Option