diff --git a/cmd/flags/service.go b/cmd/flags/service.go index 5f8924f0961..d0cb4d393fa 100644 --- a/cmd/flags/service.go +++ b/cmd/flags/service.go @@ -83,7 +83,9 @@ func (s *Service) Start(v *viper.Viper) error { } sFlags := new(SharedFlags).InitFromViper(v) - if logger, err := sFlags.NewLogger(zap.NewProductionConfig()); err == nil { + newProdConfig := zap.NewProductionConfig() + newProdConfig.Sampling = nil + if logger, err := sFlags.NewLogger(newProdConfig); err == nil { s.Logger = logger } else { return errors.Wrap(err, "Cannot create logger")