mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 07:56:36 +01:00
add warning log level
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -111,7 +111,7 @@ func (cfg *Application) Build() error {
|
||||
case v >= 2:
|
||||
cfg.Log.LevelOpt = logrus.DebugLevel
|
||||
default:
|
||||
cfg.Log.LevelOpt = logrus.ErrorLevel
|
||||
cfg.Log.LevelOpt = logrus.WarnLevel
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user