mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 23:11:57 +00:00
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:
parent
913d1530fb
commit
eee4d7012d
@ -15,7 +15,9 @@ import (
|
|||||||
lSyslog "github.com/sirupsen/logrus/hooks/syslog"
|
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())
|
var kataUtilsLogger = logrus.NewEntry(logrus.New())
|
||||||
|
|
||||||
// SetLogger sets the logger for the factory.
|
// SetLogger sets the logger for the factory.
|
||||||
|
Loading…
Reference in New Issue
Block a user