Downgrade an SSDP message log level to debug

This commit is contained in:
Igor Katson 2024-08-28 13:45:05 +01:00
parent b174afaa12
commit d90c4dabe7
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -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")
}