mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 10:36:45 +01:00
reduce noise of log output (#976)
This commit is contained in:
parent
4ce2edda9e
commit
0bd3558fb2
@ -146,7 +146,7 @@ func (cfg *Application) parseLogLevelOption() error {
|
|||||||
cfg.Verbosity = 1
|
cfg.Verbosity = 1
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
cfg.Log.LevelOpt = logrus.InfoLevel
|
cfg.Log.LevelOpt = logrus.WarnLevel
|
||||||
}
|
}
|
||||||
|
|
||||||
if cfg.Log.Level == "" {
|
if cfg.Log.Level == "" {
|
||||||
|
|||||||
@ -338,7 +338,7 @@ func (r directoryResolver) FilesByPath(userPaths ...string) ([]Location, error)
|
|||||||
// we should be resolving symlinks and preserving this information as a VirtualPath to the real file
|
// we should be resolving symlinks and preserving this information as a VirtualPath to the real file
|
||||||
evaluatedPath, err := filepath.EvalSymlinks(userStrPath)
|
evaluatedPath, err := filepath.EvalSymlinks(userStrPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warnf("directory resolver unable to evaluate symlink for path=%q : %+v", userPath, err)
|
log.Debugf("directory resolver unable to evaluate symlink for path=%q : %+v", userPath, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user