Skip to content

Silent native logs by default, skip mDNS for .local candidates - #18

Merged
stasadance merged 1 commit into
mainfrom
quiet-logs
Nov 24, 2026
Merged

stasadance merged 1 commit into
mainfrom
quiet-logs

Conversation

@stasadance

@stasadance stasadance commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner
  • Native logging is off unless LAGLESS_LOG is set (env_logger filter syntax). Before, env_logger::try_init() printed errors to the Node process by default.
  • MulticastDnsMode::Disabled: browsers' .local host candidates are dropped, no mDNS queries, no mDNS Query N timed out errors. ICE-lite learns the real address from the browser's checks (peer-reflexive).
  • README: one Logging bullet.

Tested: pnpm test passes. Ad-hoc ndc client with its host candidate rewritten to <uuid>.local connects in ~220 ms with empty stderr; with LAGLESS_LOG=warn it shows remote mDNS candidate added, but mDNS is disabled.

Logs print only when LAGLESS_LOG is set. Browsers' .local host candidates
no longer trigger mDNS queries (and their timeout errors); peer-reflexive
covers them.
@stasadance stasadance self-assigned this Nov 24, 2026
@stasadance
stasadance merged commit 40fe1e0 into main Nov 24, 2026
4 checks passed
@stasadance
stasadance deleted the quiet-logs branch November 24, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant