Skip to content

Commit

Permalink
reduce noise of log output (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
luhring authored May 2, 2022
1 parent 4ce2edd commit 0bd3558
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/config/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (cfg *Application) parseLogLevelOption() error {
cfg.Verbosity = 1
}
default:
cfg.Log.LevelOpt = logrus.InfoLevel
cfg.Log.LevelOpt = logrus.WarnLevel
}

if cfg.Log.Level == "" {
Expand Down
2 changes: 1 addition & 1 deletion syft/source/directory_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
evaluatedPath, err := filepath.EvalSymlinks(userStrPath)
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
}

Expand Down

0 comments on commit 0bd3558

Please sign in to comment.