log to stdout

This commit is contained in:
pluja 2024-02-25 17:48:43 +01:00
parent 0229c499e5
commit eb5e9b0ceb

View File

@ -36,7 +36,7 @@ func init() {
}
// Flags
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stdout})
zerolog.SetGlobalLevel(zerolog.InfoLevel)
if *debug {
log.Debug().Msg("Debug mode enabled")