lotus/lib/lotuslog/levels.go
2020-01-08 14:49:34 +01:00

13 lines
314 B
Go

package lotuslog
import logging "github.com/ipfs/go-log"
func SetupLogLevels() {
logging.SetLogLevel("*", "INFO")
logging.SetLogLevel("dht", "ERROR")
logging.SetLogLevel("swarm2", "WARN")
logging.SetLogLevel("bitswap", "WARN")
logging.SetLogLevel("pubsub", "WARN")
logging.SetLogLevel("connmgr", "WARN")
}