We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0b1d8d + 424e1ba commit 1da4033Copy full SHA for 1da4033
1 file changed
cmd/gomodel/main.go
@@ -41,7 +41,7 @@ func main() {
41
42
logFormat := strings.ToLower(os.Getenv("LOG_FORMAT"))
43
44
- var handler slog.Handler = slog.NewJSONHandler(os.Stdout, nil)
+ var handler slog.Handler = slog.NewJSONHandler(os.Stderr, nil)
45
46
if (isTTYTerminal && logFormat != "json") || logFormat == "text" {
47
handler = tint.NewHandler(os.Stderr, &tint.Options{
0 commit comments