diff --git a/pkg/util/logger/test/logger.go b/pkg/util/logger/test/logger.go index e78a117f..4a287087 100644 --- a/pkg/util/logger/test/logger.go +++ b/pkg/util/logger/test/logger.go @@ -9,8 +9,6 @@ import ( "go.uber.org/zap/zapcore" ) -const sampling = 1000 - // NewLogger creates a new logger. // // If debug, development logger is created. @@ -20,11 +18,6 @@ func NewLogger(t testing.TB, debug bool) *logger.Logger { if debug { cfg := zap.NewDevelopmentConfig() - cfg.Sampling = &zap.SamplingConfig{ - Initial: sampling, - Thereafter: sampling, - } - cfg.EncoderConfig.EncodeLevel = zapcore.CapitalColorLevelEncoder log, err := cfg.Build()