Skip to content

Commit

Permalink
Send logs to stderr, rather than stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed Aug 11, 2023
1 parent fb203a2 commit e3acc95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/headscale/headscale.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit e3acc95

Please sign in to comment.