aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool/test/logger.go
diff options
context:
space:
mode:
Diffstat (limited to 'blockpool/test/logger.go')
-rw-r--r--blockpool/test/logger.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/blockpool/test/logger.go b/blockpool/test/logger.go
index 8b776e0b5..bcb4d4cb3 100644
--- a/blockpool/test/logger.go
+++ b/blockpool/test/logger.go
@@ -9,6 +9,8 @@ import (
"github.com/ethereum/go-ethereum/logger"
)
+// logging in tests
+
var once sync.Once
/* usage:
@@ -19,7 +21,7 @@ func TestFunc(t *testing.T) {
*/
func LogInit() {
once.Do(func() {
- var logsys = logger.NewStdLogSystem(os.Stdout, log.LstdFlags, logger.LogLevel(logger.DebugDetailLevel))
+ var logsys = logger.NewStdLogSystem(os.Stdout, log.LstdFlags, logger.LogLevel(logger.WarnLevel))
logger.AddLogSystem(logsys)
})
}