From 36942af3bf6eec57c4bebd6c373fe58e6323bce4 Mon Sep 17 00:00:00 2001 From: jloup Date: Sun, 13 May 2018 14:12:58 +0100 Subject: Disable log colors in production. --- cmd/app/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/app') diff --git a/cmd/app/main.go b/cmd/app/main.go index e414bf2..3ad427d 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go @@ -66,6 +66,7 @@ func init() { db.Init(C.Db, C.Redis) if C.Mode == "production" { + gin.DisableConsoleColor() gin.SetMode(gin.ReleaseMode) } -- cgit v1.2.3