Send logs to stderr, rather than stdout

This commit is contained in:
Juan Font committed 2023-08-11 20:59:38 +02:00
1 parent fb203a2e45
commit e3acc95859
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ func main() {
zerolog.TimeFieldFormat = zerolog.TimeFormatUnix
log.Logger = log.Output(zerolog.ConsoleWriter{
Out: os.Stdout,
Out: os.Stderr,
TimeFormat: time.RFC3339,
NoColor: !colors,
})