Skip to content

Fix logger vet format warnings#91

Draft
besendorf wants to merge 1 commit into
mainfrom
fix-logger-vet-format-warnings
Draft

Fix logger vet format warnings#91
besendorf wants to merge 1 commit into
mainfrom
fix-logger-vet-format-warnings

Conversation

@besendorf
Copy link
Copy Markdown
Collaborator

Summary

Fix Go vet failures in the logger and logging call sites so go test ./... passes on main.

The root cause was a mix of print-style logger wrappers forwarding variadic arguments through a printf-like helper with an empty format string, plus a few logging calls using %w or an incomplete % directive in non-wrapping log output.

Changes

  • Pass print-style logger arguments through fmt.Sprint with an explicit %s format.
  • Replace logging-only %w directives with %v.
  • Fix one malformed log format string in modules/logs.go.

Validation

  • make collector
  • go test ./...

@besendorf besendorf changed the title [codex] Fix logger vet format warnings Fix logger vet format warnings May 7, 2026
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