Skip to content

Commit

Permalink
Print log messages to stderr; use stdout only for output.file=stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
tierpod committed Feb 16, 2022
1 parent 0835ab3 commit afb3b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dmarc-report-converter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func setupLog(debug, datetime bool) {
filter := &logutils.LevelFilter{
Levels: []logutils.LogLevel{"DEBUG", "INFO", "WARN", "ERROR"},
MinLevel: logutils.LogLevel("INFO"),
Writer: os.Stdout,
Writer: os.Stderr,
}

if debug {
Expand Down

0 comments on commit afb3b71

Please sign in to comment.