From a1a77a9b756c0b09cddf784b9294d7ad60667440 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 5 Oct 2018 18:49:56 +0200 Subject: [PATCH] improved logging format --- models/logging.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/logging.go b/models/logging.go index c392e7669..6fbbf5b6f 100644 --- a/models/logging.go +++ b/models/logging.go @@ -9,7 +9,7 @@ import ( var Log = logging.MustGetLogger("vikunja") var format = logging.MustStringFormatter( - `%{color}%{time:15:04:05.000} %{shortfunc} ▶ %{level:.4s} %{id:03x}%{color:reset} %{message}`, + `%{color}%{time:2006-01-02 15:04:05.000} %{shortfunc} ▶ %{level:.4s} %{id:03x}%{color:reset} %{message}`, ) // InitLogger initializes the global log handler