Skip to content

Commit

Permalink
Log "Skipping paths under..." to debug (#571)
Browse files Browse the repository at this point in the history
This reduces noise in the log output, since it isn't terribly useful to most end users.
  • Loading branch information
imjasonh authored and dlorenc committed Feb 19, 2019
1 parent f197a06 commit faadb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/snapshot/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit faadb2a

Please sign in to comment.