2021-05-18 21:01:10 +00:00
|
|
|
package kit
|
2021-05-18 20:32:10 +00:00
|
|
|
|
|
|
|
import logging "github.com/ipfs/go-log/v2"
|
|
|
|
|
|
|
|
func QuietMiningLogs() {
|
2021-05-18 21:01:10 +00:00
|
|
|
_ = logging.SetLogLevel("Miner", "ERROR")
|
2021-05-18 20:32:10 +00:00
|
|
|
_ = 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")
|
|
|
|
}
|