From e05cc866ecdbba713d4677c8a3422b1f6dba582a Mon Sep 17 00:00:00 2001 From: AndrewSisley Date: Wed, 2 Mar 2022 09:24:37 -0500 Subject: [PATCH] fix: Only log errors and above when benchmarking (#261) --- bench/bench_util.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bench/bench_util.go b/bench/bench_util.go index 212f2b45e0..cfeb6a317a 100644 --- a/bench/bench_util.go +++ b/bench/bench_util.go @@ -44,6 +44,8 @@ var ( ) func init() { + logging.SetConfig(logging.Config{Level: logging.NewLogLevelOption(logging.Error)}) + // create a consistent seed value for the random package // so we don't have random fluctuations between runs // (specifically thinking about the fixture generation stuff)