mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 14:32:33 +00:00
cli: logging: Default to Warn level
Set the default log level explicitly to 'Warn', rather than taking the logrus default (which is normally 'Info'). Fixes: #2522 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
This commit is contained in:
parent
a5436627f5
commit
913d1530fb
@ -57,8 +57,8 @@ var kataLog *logrus.Entry
|
||||
|
||||
// originalLoggerLevel is the default log level. It is used to revert the
|
||||
// current log level back to its original value if debug output is not
|
||||
// required.
|
||||
var originalLoggerLevel logrus.Level
|
||||
// required. We set the default to 'Warn' for the runtime.
|
||||
var originalLoggerLevel = logrus.WarnLevel
|
||||
|
||||
var debug = false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user