2020-10-20 15:08:25 +00:00
|
|
|
package test
|
|
|
|
|
|
|
|
import "github.com/ipfs/go-log/v2"
|
|
|
|
|
|
|
|
func QuietMiningLogs() {
|
|
|
|
_ = log.SetLogLevel("miner", "ERROR")
|
|
|
|
_ = log.SetLogLevel("chainstore", "ERROR")
|
|
|
|
_ = log.SetLogLevel("chain", "ERROR")
|
|
|
|
_ = log.SetLogLevel("sub", "ERROR")
|
|
|
|
_ = log.SetLogLevel("storageminer", "ERROR")
|
|
|
|
_ = log.SetLogLevel("pubsub", "ERROR")
|
2021-05-07 14:38:40 +00:00
|
|
|
_ = log.SetLogLevel("gen", "ERROR")
|
|
|
|
_ = log.SetLogLevel("dht/RtRefreshManager", "ERROR")
|
2020-10-20 15:08:25 +00:00
|
|
|
}
|