Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/go-log
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.3
Choose a base ref
...
head repository: ipfs/go-log
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.4
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Apr 3, 2020

  1. fix: disable stacks

    We don't want them.
    Stebalien committed Apr 3, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    525dccc View commit details
  2. Merge pull request #78 from ipfs/fix/tune-zap

    fix: disable stacks
    Stebalien authored Apr 3, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a850a7a View commit details
Showing with 1 addition and 0 deletions.
  1. +1 −0 setup.go
1 change: 1 addition & 0 deletions setup.go
Original file line number Diff line number Diff line change
@@ -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