Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
katutils: logging: default log level to Warn
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Graham Whaley committed Mar 10, 2020
1 parent 913d153 commit eee4d70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/katautils/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit eee4d70

Please sign in to comment.