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:
Jason Hall 2019-02-19 14:54:26 -05:00 committed by dlorenc
parent f197a06ee9
commit faadb2af86
1 changed files with 1 additions and 1 deletions

View File

@ -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