diff options
author | Unknwon <u@gogs.io> | 2015-07-16 02:47:51 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-16 02:47:51 +0800 |
commit | bebbd089207ec562edacb1ec7a770eb540a088e2 (patch) | |
tree | ff03cb7b4eb6bae0ca12376a1704eafcf15a76fd /routers/install.go | |
parent | ff051e2106bb44203736934547a7a2c501b1a784 (diff) | |
download | gitea-bebbd089207ec562edacb1ec7a770eb540a088e2.tar.gz gitea-bebbd089207ec562edacb1ec7a770eb540a088e2.zip |
Disable log color in prod mode
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go index 7a951ad27a..055c1ccd8e 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 |