From a3e16860c61fe16fb9345eb61c17b00ab0cf9b34 Mon Sep 17 00:00:00 2001 From: Geno Date: Thu, 30 Mar 2017 15:03:21 +0200 Subject: [PATCH] Update log.go --- lib/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.go b/lib/log.go index 99424eb..a67a45a 100644 --- a/lib/log.go +++ b/lib/log.go @@ -16,7 +16,7 @@ func init(){ func LogTimestamp(value bool) { logger.SetFormatter(&logger.TextFormatter{ - DisableTimestamp: value, + DisableTimestamp: !value, }) } // LogHTTP to add information of a httprequest to log