From add6eb6e2bb31b28882a5dc72ad143bccd712e99 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 27 Aug 2021 13:26:45 +0200 Subject: Gin logging (#165) * start messing around with logger * more messing about * fix error with instance not created on startup (#156) * set logger * log user agent * finalize logging * go fmt * start messing around with logger * more messing about * set logger * log user agent * finalize logging * go fmt --- internal/log/log.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/log') diff --git a/internal/log/log.go b/internal/log/log.go index 03553606b..2e1afdb52 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -46,6 +46,7 @@ func New(level string) (*logrus.Logger, error) { log.SetFormatter(&logrus.TextFormatter{ DisableColors: true, + ForceQuote: true, FullTimestamp: true, }) -- cgit v1.2.3