remove ForceColors for logrus package.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-12-20 09:37:25 +08:00
parent 9595062bbf
commit d94e305e73
1 changed files with 0 additions and 2 deletions

View File

@ -73,13 +73,11 @@ func InitLog() error {
LogAccess.Formatter = &logrus.TextFormatter{ LogAccess.Formatter = &logrus.TextFormatter{
TimestampFormat: "2006/01/02 - 15:04:05", TimestampFormat: "2006/01/02 - 15:04:05",
ForceColors: true,
FullTimestamp: true, FullTimestamp: true,
} }
LogError.Formatter = &logrus.TextFormatter{ LogError.Formatter = &logrus.TextFormatter{
TimestampFormat: "2006/01/02 - 15:04:05", TimestampFormat: "2006/01/02 - 15:04:05",
ForceColors: true,
FullTimestamp: true, FullTimestamp: true,
} }