katutils: logging: default log level to Warn

Set the katautils default log level to 'Warn', rather than 'Info',
as 'Info' is rather noisy.

Fixes: #2522

Signed-off-by: Graham Whaley <graham.whaley@intel.com>
This commit is contained in:
Graham Whaley 2020-03-10 16:50:23 +00:00
parent 913d1530fb
commit eee4d7012d

View File

@ -15,7 +15,9 @@ import (
lSyslog "github.com/sirupsen/logrus/hooks/syslog"
)
var originalLoggerLevel = logrus.InfoLevel
// Default our log level to 'Warn', rather than the logrus default
// of 'Info', which is rather noisy.
var originalLoggerLevel = logrus.WarnLevel
var kataUtilsLogger = logrus.NewEntry(logrus.New())
// SetLogger sets the logger for the factory.