Skip to content

Drop logging hygiene NextUp item — premise was inaccurate#17

Merged
turtlemonvh merged 1 commit into
masterfrom
ai/drop-logging-nextup
May 4, 2026
Merged

Drop logging hygiene NextUp item — premise was inaccurate#17
turtlemonvh merged 1 commit into
masterfrom
ai/drop-logging-nextup

Conversation

@turtlemonvh
Copy link
Copy Markdown
Owner

Summary

Survey turned up zero stdlib log.Printf usage in production code — all ~84 call sites across 17 files already use logrus (aliased as log). The only stdlib log is in lib/tailed_file/tailed_file_test.go for test diagnostics. The "unify the loggers" framing didn't match reality.

Migrating logrus → log/slog is a separable, larger decision with no forcing function today (logrus 1.9.3 is stable and active; ~84 call sites + a custom ginLogger middleware to port). Parking it. If we later have a concrete trigger (OpenTelemetry, dep cleanup, a Go upgrade snag) we can add a fresh entry framed around that.

Test plan

Docs-only change.

🤖 Generated with Claude Code

The entry described a mixed log.Printf / logrus codebase, but a
survey turned up zero stdlib log usage in production: all 84 call
sites across 17 files use logrus (aliased as log). The only stdlib
log is in lib/tailed_file/tailed_file_test.go for test diagnostics.

Migrating logrus → log/slog is a separable, larger decision (no
forcing function today, logrus is stable, ~84 call sites + a custom
ginLogger middleware to port). Park it. If we want to revisit later
under a concrete trigger (OpenTelemetry, dependency cleanup, Go
upgrade), we can add a fresh entry then.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@turtlemonvh turtlemonvh merged commit 91b44fa into master May 4, 2026
2 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.

1 participant