summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/serv.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/serv.go b/cmd/serv.go
index b6cdab8334..1938388001 100644
--- a/cmd/serv.go
+++ b/cmd/serv.go
@@ -54,6 +54,8 @@ func setup(logPath string, debug bool) {
_ = log.DelLogger("console")
if debug {
_ = log.NewLogger(1000, "console", "console", `{"level":"trace","stacktracelevel":"NONE","stderr":true}`)
+ } else {
+ _ = log.NewLogger(1000, "console", "console", `{"level":"fatal","stacktracelevel":"NONE","stderr":true}`)
}
setting.NewContext()
if debug {