ipfs-cluster/debug.go
Hector Sanjuan 7a5f8f184b Issue #131: Improvements adding and removing
This works on remove+shutdown procedure and fixes a few small
issues.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-11-01 13:00:32 +01:00

19 lines
408 B
Go

// +build debug,!silent
package ipfscluster
func init() {
l := "DEBUG"
for _, f := range facilities {
SetFacilityLogLevel(f, l)
}
//SetFacilityLogLevel("cluster", l)
//SetFacilityLogLevel("consensus", l)
//SetFacilityLogLevel("monitor", "INFO")
//SetFacilityLogLevel("raft", l)
//SetFacilityLogLevel("p2p-gorpc", l)
//SetFacilityLogLevel("swarm2", l)
//SetFacilityLogLevel("libp2p-raft", l)
}