diff --git a/CHANGELOG.md b/CHANGELOG.md index e62a824f..983c8a9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This document outlines major changes between releases. ### Added ### Changed +- Log sampling is disabled now (#1024) ### Fixed diff --git a/cmd/s3-gw/app_settings.go b/cmd/s3-gw/app_settings.go index 5c301b7e..fb291be8 100644 --- a/cmd/s3-gw/app_settings.go +++ b/cmd/s3-gw/app_settings.go @@ -407,6 +407,7 @@ func newLogger(v *viper.Viper) *Logger { c := zap.NewProductionConfig() c.Level = zap.NewAtomicLevelAt(lvl) c.Encoding = "console" + c.Sampling = nil if term.IsTerminal(int(os.Stdout.Fd())) { c.EncoderConfig.EncodeTime = zapcore.ISO8601TimeEncoder } else {