提交 31cc605c 作者: Juan Batiz-Benet

comment out debug msg

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