From ae63e4b4f0591d21646f1f7a271f9380f6b7566f Mon Sep 17 00:00:00 2001 From: ssaqua Date: Thu, 20 Sep 2018 22:56:54 +1200 Subject: [PATCH] list: change debug logs for excluded items --- fs/list/list.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/list/list.go b/fs/list/list.go index 4e213adbd..37b001eee 100644 --- a/fs/list/list.go +++ b/fs/list/list.go @@ -28,7 +28,7 @@ func DirSorted(f fs.Fs, includeAll bool, dir string) (entries fs.DirEntries, err // starting directory, otherwise ListDirSorted should not be // called. if !includeAll && filter.Active.ListContainsExcludeFile(entries) { - fs.Debugf(dir, "Excluded from sync (and deletion)") + fs.Debugf(dir, "Excluded") return nil, nil } return filterAndSortDir(entries, includeAll, dir, filter.Active.IncludeObject, filter.Active.IncludeDirectory(f)) @@ -51,7 +51,7 @@ func filterAndSortDir(entries fs.DirEntries, includeAll bool, dir string, // Make sure we don't delete excluded files if not required if !includeAll && !IncludeObject(x) { ok = false - fs.Debugf(x, "Excluded from sync (and deletion)") + fs.Debugf(x, "Excluded") } case fs.Directory: if !includeAll { @@ -61,7 +61,7 @@ func filterAndSortDir(entries fs.DirEntries, includeAll bool, dir string, } if !include { ok = false - fs.Debugf(x, "Excluded from sync (and deletion)") + fs.Debugf(x, "Excluded") } } default: