7a5f8f184b
This works on remove+shutdown procedure and fixes a few small issues. License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
19 lines
408 B
Go
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)
|
|
}
|