From 13857d5bce8820cae8f0e46d2d8a27a2a6943ea1 Mon Sep 17 00:00:00 2001 From: Leo Balduf Date: Sun, 3 Sep 2017 11:37:17 +0200 Subject: [PATCH] pkg/log: fix debug logging --- pkg/log/log.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/log/log.go b/pkg/log/log.go index 597948b..c79c071 100644 --- a/pkg/log/log.go +++ b/pkg/log/log.go @@ -17,6 +17,7 @@ var ( // SetDebug controls debug logging. func SetDebug(to bool) { debug = to + l.Level = logrus.DebugLevel } // SetFormatter sets the formatter.