2016-12-19 18:40:17 +00:00
|
|
|
// +build debug,!silent
|
2016-12-16 21:00:08 +00:00
|
|
|
|
|
|
|
package ipfscluster
|
|
|
|
|
|
|
|
func init() {
|
2017-02-02 22:52:06 +00:00
|
|
|
l := "DEBUG"
|
2017-03-10 16:24:25 +00:00
|
|
|
for _, f := range facilities {
|
|
|
|
SetFacilityLogLevel(f, l)
|
|
|
|
}
|
|
|
|
|
2017-10-31 10:20:14 +00:00
|
|
|
//SetFacilityLogLevel("cluster", l)
|
|
|
|
//SetFacilityLogLevel("consensus", l)
|
|
|
|
//SetFacilityLogLevel("monitor", "INFO")
|
2017-02-02 22:52:06 +00:00
|
|
|
//SetFacilityLogLevel("raft", l)
|
|
|
|
//SetFacilityLogLevel("p2p-gorpc", l)
|
|
|
|
//SetFacilityLogLevel("swarm2", l)
|
|
|
|
//SetFacilityLogLevel("libp2p-raft", l)
|
2016-12-16 21:00:08 +00:00
|
|
|
}
|