Skip to content

Commit

Permalink
Logging - use json loggerus (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: Oded Messer <[email protected]>
  • Loading branch information
alonmr and omesser authored Jul 12, 2021
1 parent 9c83daa commit 3e13c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sidecarproxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func run() error {
if err != nil {
return errors.Wrap(err, "Failed to parse log level")
}
logger, err := loggerus.NewTextLoggerus("main", parsedLogLevel, os.Stdout, true)
logger, err := loggerus.NewJSONLoggerus("main", parsedLogLevel, os.Stdout)
if err != nil {
return errors.Wrap(err, "Failed to create new logger")
}
Expand Down

0 comments on commit 3e13c44

Please sign in to comment.