Skip to content

Restructure log levels: meaningful INFO, demote noise to DEBUG#241

Merged
clcollins merged 1 commit into
mainfrom
srepd/restructure-log-levels
May 31, 2026
Merged

Restructure log levels: meaningful INFO, demote noise to DEBUG#241
clcollins merged 1 commit into
mainfrom
srepd/restructure-log-levels

Conversation

@clcollins
Copy link
Copy Markdown
Owner

Summary

  • Demoted setStatus() from INFO to DEBUG (biggest noise reduction)
  • Added 11 INFO logs for meaningful SRE actions: ack, silence, re-escalate, login, note, resolve, browser, SOP, claude query
  • Demoted toolbox detection from INFO to DEBUG
  • 2 new tests verifying log levels

Closes #236

🤖 Generated with Claude Code

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 30, 2026

Codecov Report

❌ Patch coverage is 71.42857% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.89%. Comparing base (3b9edb8) to head (4769f84).

Files with missing lines Patch % Lines
pkg/tui/tui.go 57.14% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #241      +/-   ##
==========================================
+ Coverage   69.55%   69.89%   +0.33%     
==========================================
  Files          26       26              
  Lines        3791     3810      +19     
==========================================
+ Hits         2637     2663      +26     
+ Misses       1010      995      -15     
- Partials      144      152       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…FO (#236)

Demote setStatus UI messages from INFO to DEBUG since they are
internal state updates, not meaningful SRE actions. Add INFO-level
logs for audit-relevant operations: acknowledge, re-escalate,
silence, login, add note, resolve, open browser/SOP, and Claude
queries. Demote launcher toolbox detection from INFO to DEBUG.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@clcollins clcollins force-pushed the srepd/restructure-log-levels branch from e228ce0 to 4769f84 Compare May 31, 2026 19:37
@clcollins clcollins merged commit 4cffd8e into main May 31, 2026
10 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.

Restructure log levels: meaningful INFO, demote noise to DEBUG

2 participants