Skip to content

Commit

Permalink
Disabled colorizing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoutp committed Apr 5, 2018
1 parent 7104848 commit fa964f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/logging/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ type loggingService struct {

// NewRootLogger creates a new zerolog logger with default settings.
func NewRootLogger() zerolog.Logger {
return zerolog.New(zerolog.ConsoleWriter{Out: os.Stdout}).With().Timestamp().Logger()
return zerolog.New(zerolog.ConsoleWriter{
Out: os.Stdout,
NoColor: true,
}).With().Timestamp().Logger()
}

// NewService creates a new Service.
Expand Down

0 comments on commit fa964f8

Please sign in to comment.