lotus/lib/lotuslog/levels.go

13 lines
314 B
Go
Raw Normal View History

2020-01-08 13:49:34 +00:00
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")
}