18cbdcfc81
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
15 lines
413 B
Go
15 lines
413 B
Go
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")
|
|
_ = log.SetLogLevel("gen", "ERROR")
|
|
_ = log.SetLogLevel("dht/RtRefreshManager", "ERROR")
|
|
}
|