Skip to content

Commit

Permalink
Merge pull request #78 from ipfs/fix/tune-zap
Browse files Browse the repository at this point in the history
fix: disable stacks
  • Loading branch information
Stebalien committed Apr 3, 2020
2 parents 6277577 + 525dccc commit a850a7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func SetupLogging() {

zapCfg.Sampling = nil
zapCfg.EncoderConfig.EncodeTime = zapcore.ISO8601TimeEncoder
zapCfg.DisableStacktrace = true

zapCfg.OutputPaths = []string{"stderr"}
// check if we log to a file
Expand Down

0 comments on commit a850a7a

Please sign in to comment.