Skip to content

fix(logging): quiet webrtc-rs's mDNS answer warnings - #272

Merged
SteveGilvarry merged 1 commit into
masterfrom
fix/258-mdns-log-noise
Oct 30, 2026
Merged

SteveGilvarry merged 1 commit into
masterfrom
fix/258-mdns-log-noise

Conversation

@SteveGilvarry

Copy link
Copy Markdown
Member

rtc-mdns warns about every A/AAAA answer it hears on the LAN that has no
A record, before checking whether the answer is for one of its own
queries. On a network with printers and TVs that's about 100 journal
lines a minute, none of them about a session.

Its target now logs at error unless RUST_LOG names rtc_mdns itself, so
RUST_LOG=info,rtc_mdns=debug still brings it back. mDNS itself stays
on: it resolves the .local host candidates browsers send.

Fixes #258

🤖 Generated with Claude Code

https://claude.ai/code/session_01KXE4e1KGijmQSLUde9ydBZ

rtc-mdns warns about every A/AAAA answer it hears on the LAN that has no
A record, before checking whether the answer is for one of its own
queries. On a network with printers and TVs that's about 100 journal
lines a minute, none of them about a session.

Its target now logs at error unless RUST_LOG names rtc_mdns itself, so
RUST_LOG=info,rtc_mdns=debug still brings it back. mDNS itself stays
on: it resolves the .local host candidates browsers send.

Fixes #258

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KXE4e1KGijmQSLUde9ydBZ
@SteveGilvarry
SteveGilvarry merged commit 03bf7b6 into master Oct 30, 2026
21 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webrtc-rs mDNS answers flood the journal at ~100 lines a minute

1 participant