push detailed log statements to trace-level (#1500)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2023-01-20 14:33:23 +00:00
committed by GitHub
parent 396441e921
commit 36a0945c95
4 changed files with 68 additions and 48 deletions
+1 -1
View File
@@ -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.Debugf("directory resolver unable to evaluate symlink for path=%q : %+v", userPath, err)
log.Tracef("unable to evaluate symlink for path=%q : %+v", userPath, err)
continue
}