lotus/itests/kit/log.go

15 lines
452 B
Go
Raw Normal View History

2021-05-18 21:01:10 +00:00
package kit
import logging "github.com/ipfs/go-log/v2"
func QuietMiningLogs() {
2021-05-18 21:01:10 +00:00
_ = logging.SetLogLevel("Miner", "ERROR")
_ = logging.SetLogLevel("chainstore", "ERROR")
_ = logging.SetLogLevel("chain", "ERROR")
_ = logging.SetLogLevel("sub", "ERROR")
_ = logging.SetLogLevel("storageminer", "ERROR")
_ = logging.SetLogLevel("pubsub", "ERROR")
_ = logging.SetLogLevel("gen", "ERROR")
_ = logging.SetLogLevel("dht/RtRefreshManager", "ERROR")
}