Skip to content

fix(network): stop scan and unchanged-state lines flooding the INFO log - #369

Open
gmmcosta15 wants to merge 2 commits into
devfrom
fix/network-scan-log-spam
Open

gmmcosta15 wants to merge 2 commits into
devfrom
fix/network-scan-log-spam

Conversation

@gmmcosta15

@gmmcosta15 gmmcosta15 commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Description

  • Feature
  • Bug Fix
  • Code Refactor
  • Documentation

The network worker logged every periodic scan and every 5-minute state snapshot at INFO, so field logs filled with lines that carried no news. The scan count line drops to DEBUG, and the state line stays at INFO only when something other than the signal strength changed.

Changes

  • scan: N visible of M AP(s) logs at DEBUG: the counts drift on every scan
  • state: conn=... sig=... logs at INFO only when connectivity, SSID, IP, Wi-Fi, ethernet or hotspot changed; an unchanged snapshot (signal-only drift) logs at DEBUG
  • Test: unchanged state logs DEBUG, a changed IP logs INFO again

@gmmcosta15 gmmcosta15 added the bug Something is broken, or a fix for it label Oct 23, 2026
@gmmcosta15 gmmcosta15 self-assigned this Oct 23, 2026
@gmmcosta15
gmmcosta15 requested a review from a team October 23, 2026 16:08

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is broken, or a fix for it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant