From d90c4dabe713e4e4263d530668a6e738ce4069d5 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Wed, 28 Aug 2024 13:45:05 +0100 Subject: [PATCH] Downgrade an SSDP message log level to debug --- crates/upnp-serve/src/ssdp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/upnp-serve/src/ssdp.rs b/crates/upnp-serve/src/ssdp.rs index 6027ae2..b9e4342 100644 --- a/crates/upnp-serve/src/ssdp.rs +++ b/crates/upnp-serve/src/ssdp.rs @@ -209,7 +209,7 @@ Content-Length: 0\r\n\r\n" let msg = self.generate_notify_message(kind, nts, &format!("{location}")); trace!(content=?msg, addr=?UPNP_BROADCAST_ADDR, "sending SSDP NOTIFY"); if let Err(e) = sock.send_to(msg.as_bytes(), UPNP_BROADCAST_ADDR).await { - warn!(sock_addr=%addr, error=%e, "error sending SSDP NOTIFY") + debug!(sock_addr=%addr, error=%e, kind, nts, "error sending SSDP NOTIFY") } else { debug!(kind, nts, %location, "sent SSDP NOTIFY") }