You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Fail callback was routing errors through the slog logger, which meant:
- Errors appeared as structured log messages (with timestamp and level)
- --log-level never silently swallowed errors
- --log-format json wrapped errors in JSON
Errors are now always printed directly to stderr as "Error: <message>",
independent of log configuration.
Default log level changed from "info" to "never"; server start-dev
continues to default to "warn" via its existing ChangedFromDefault
override. Users can still opt in with --log-level on any command.
Two deprecation warnings (namespace arg, env command args) converted
from logger calls to direct stderr writes so they remain visible
regardless of log level.
f.Var(&v.LogLevel, "log-level", "Log level. Default is \"info\" for most commands and \"warn\" for \"server start-dev\". Accepted values: debug, info, warn, error, never.")
f.Var(&v.LogLevel, "log-level", "Log level. Default is \"never\" for most commands and \"warn\" for \"server start-dev\". Accepted values: debug, info, warn, error, never.")
0 commit comments