Skip to content

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

Merged
gmmcosta15 merged 5 commits into
devfrom
fix/network-scan-log-spam
Oct 27, 2026
Merged

gmmcosta15 merged 5 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
@gmmcosta15
gmmcosta15 merged commit 565596c into dev Oct 27, 2026
9 checks passed
@gmmcosta15
gmmcosta15 deleted the fix/network-scan-log-spam branch October 27, 2026 10:10
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.

2 participants