From 4107c04d30eff50c1dee2b8b04cfc3ec7eb29b87 Mon Sep 17 00:00:00 2001 From: Nicolas JUHEL Date: Thu, 16 Apr 2020 13:32:47 +0200 Subject: [PATCH] Fix SetLevel for Viper Logger --- njs-logger/level.go | 1 + 1 file changed, 1 insertion(+) diff --git a/njs-logger/level.go b/njs-logger/level.go index d952ad32..9ef226b6 100644 --- a/njs-logger/level.go +++ b/njs-logger/level.go @@ -110,6 +110,7 @@ func SetLevel(level Level) { } DebugLevel.Logf("Change Log Level to %s", logrus.GetLevel().String()) + setViperLogTrace() } func setViperLogTrace() {