tracers: pipeline-snapshot: reduce WebSocket connection log level

Change WebSocket connection failure log from warning to debug level as
these retries are expected behavior and don't indicate an error condition.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2433>
This commit is contained in:
Thibault Saunier 2025-08-06 10:41:51 -04:00
parent aa4d9333b9
commit 4e7d42c16e

View file

@ -507,7 +507,7 @@ impl PipelineSnapshot {
loop {
gst::debug!(CAT, "Connecting to WebSocket server at {}", host);
if let Err(e) = Self::handle_websocket(obj.clone(), host.clone()).await {
gst::warning!(
gst::debug!(
CAT,
"WebSocket {} connection failed: {}. Retrying in 5 seconds...",
host,