aboutsummaryrefslogtreecommitdiff
path: root/routers/install.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go
index 7a951ad2..055c1ccd 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -36,6 +36,7 @@ func checkRunMode() {
switch setting.Cfg.Section("").Key("RUN_MODE").String() {
case "prod":
macaron.Env = macaron.PROD
+ macaron.ColorLog = false
setting.ProdMode = true
case "test":
macaron.Env = macaron.TEST