Log "Skipping paths under..." to debug (#571)
This reduces noise in the log output, since it isn't terribly useful to most end users.
This commit is contained in:
parent
f197a06ee9
commit
faadb2af86
|
|
@ -162,7 +162,7 @@ func (s *Snapshotter) scanFullFilesystem() ([]string, []string, error) {
|
|||
Callback: func(path string, ent *godirwalk.Dirent) error {
|
||||
if util.IsInWhitelist(path) {
|
||||
if util.IsDestDir(path) {
|
||||
logrus.Infof("Skipping paths under %s, as it is a whitelisted directory", path)
|
||||
logrus.Debugf("Skipping paths under %s, as it is a whitelisted directory", path)
|
||||
return filepath.SkipDir
|
||||
}
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue