From afd4c05d4a22e43654f883b6990400b73e7b9a36 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Fri, 22 Sep 2023 15:39:27 +0800 Subject: [PATCH] default log level = info --- utils/log/log.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/log/log.go b/utils/log/log.go index 2cdeb82..307d936 100644 --- a/utils/log/log.go +++ b/utils/log/log.go @@ -17,6 +17,7 @@ func init() { // The plugeth logger is only initialized with the geth runtime, // but tests expect to have a logger available, so default to this. DefaultLogger = TestLogger + TestLogger.SetLevel(int(log15.LvlInfo)) } func Trace(m string, a ...interface{}) { DefaultLogger.Trace(m, a...) }