Skip to content

Commit

Permalink
Merge pull request #111 from arangodb/log-color
Browse files Browse the repository at this point in the history
Disabled colorizing logs
  • Loading branch information
ewoutp authored Apr 5, 2018
2 parents 7104848 + fa964f8 commit d21279f
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 d21279f

Please sign in to comment.