Send logs to stderr, rather than stdout

This commit is contained in:
Juan Font 2023-08-11 15:52:03 +00:00
parent fb203a2e45
commit 043be13e6d
1 changed files with 1 additions and 1 deletions

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,
})