fix(host/logs): mdns-sd noise gate + tracing-log target normalization in the log ring

log-crate events arrive through the tracing-log bridge under the shim target
"log" — normalize them back to the real module path (NormalizeEvent) so the
console's target column and the noise gate see mdns_sd::… , and suppress the
bridge's log.* bookkeeping fields like the stderr fmt layer does.

Gate known-chatty third-party DEBUG targets (mdns-sd DEBUG-logs every
unparseable multicast packet — one AirPlay device floods thousands of entries
per hour) to INFO-and-up in the ring, so ambient LAN noise can't evict the
tail the ring exists to preserve. stderr under RUST_LOG is unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 21:36:35 +00:00
parent f3646d4e7c
commit be879c946a
3 changed files with 86 additions and 10 deletions
Generated
+2
View File
@@ -2839,6 +2839,7 @@ dependencies = [
"khronos-egl",
"libc",
"libloading",
"log",
"mdns-sd",
"nvidia-video-codec-sdk",
"openh264",
@@ -2863,6 +2864,7 @@ dependencies = [
"tokio-rustls",
"tower",
"tracing",
"tracing-log",
"tracing-subscriber",
"ureq",
"usbip-sim",