提交 31cc605c 作者: Juan Batiz-Benet

comment out debug msg

上级 dc6fdd39
......@@ -154,13 +154,14 @@ func SetupLogging() {
logging.SetBackend(backend)
logging.SetFormatter(logging.MustStringFormatter(LogFormat))
/*
if Debug {
logging.SetLevel(logging.DEBUG, "")
} else {
logging.SetLevel(logging.ERROR, "")
}
*/
// just uncomment Debug = True right here for all logging.
// but please don't commit that.
// Debug = True
if Debug {
logging.SetLevel(logging.DEBUG, "")
} else {
logging.SetLevel(logging.ERROR, "")
}
for n, log := range loggers {
logging.SetLevel(logging.ERROR, n)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论