From 99a608a9bfe2ffc5a1b014193bdfdef8f240f73f Mon Sep 17 00:00:00 2001 From: Frank Yang Date: Wed, 25 Apr 2018 10:32:33 +0800 Subject: [PATCH] make logrus detect whether output with color Signed-off-by: Frank Yang --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index ad3c41f07..a099a6e12 100644 --- a/main.go +++ b/main.go @@ -235,7 +235,6 @@ func initLog() { } formatter := &logrus.TextFormatter{ - ForceColors: true, FullTimestamp: true, TimestampFormat: "2006-01-02 15:04:05.000000000", }