Skip to content

Reduce log noise: downgrade capability detection to DEBUG and condense errors#568

Merged
rroller merged 1 commit into
rroller:mainfrom
brianegge:fix/log-noise
Apr 19, 2026
Merged

Reduce log noise: downgrade capability detection to DEBUG and condense errors#568
rroller merged 1 commit into
rroller:mainfrom
brianegge:fix/log-noise

Conversation

@brianegge

Copy link
Copy Markdown
Contributor

Summary

  • Downgrade ~13 "Device supports X" INFO messages per camera to DEBUG level, reducing log spam for users with multiple cameras
  • Replace full tracebacks for connection errors during init with concise single-line warnings
  • Replace PlatformNotReady with UpdateFailed so the coordinator retries silently instead of logging 60-line tracebacks

Note: this PR includes the PlatformNotReadyUpdateFailed change since it touches the same error handling lines. If you prefer that as a separate change, see the companion PR.

Test plan

  • Add a camera and verify only a single DEBUG-level line per capability check (not INFO)
  • Disconnect a camera and verify the log shows a single warning line, not a full traceback
  • Verify normal camera initialization still works correctly

🤖 Generated with Claude Code

…e connection errors

- Change ~13 "Device supports X" INFO messages per camera to DEBUG level,
  reducing log spam for users with multiple cameras
- Replace full tracebacks for connection errors during init with concise
  single-line warnings (e.g. "Failed to initialize device at 192.168.1.100: ...")
- Replace PlatformNotReady with UpdateFailed so the coordinator retries
  silently instead of logging 60-line tracebacks on every retry cycle

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rroller
rroller merged commit c9ba735 into rroller:main Apr 19, 2026
3 checks passed
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.

2 participants