From 92b61667df256540688bdf4c9c08f452fbdbbb6b Mon Sep 17 00:00:00 2001 From: Andrew Sisley Date: Tue, 1 Mar 2022 15:15:28 -0500 Subject: [PATCH] Only log errors and above when benchmarking --- 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)