From 101f82c6b31eab12281c8d6311c469a893de6fb5 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 25 Jul 2020 16:50:55 +0100 Subject: [PATCH] drive: drop "Disabling ListR" messages down to debug This was causing unecessary anguish for users since these messages are harmless and really only interesting for debugging. See: https://forum.rclone.org/t/rclone-gdrive-error/18098 --- backend/drive/drive.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/drive/drive.go b/backend/drive/drive.go index 3851f1b05..5c710de9f 100755 --- a/backend/drive/drive.go +++ b/backend/drive/drive.go @@ -1741,7 +1741,7 @@ func (f *Fs) listRRunner(ctx context.Context, wg *sync.WaitGroup, in chan listRE // https://issuetracker.google.com/issues/149522397 if len(dirs) > 1 && !foundItems { if atomic.SwapInt32(&f.grouping, 1) != 1 { - fs.Logf(f, "Disabling ListR to work around bug in drive as multi listing (%d) returned no entries", len(dirs)) + fs.Debugf(f, "Disabling ListR to work around bug in drive as multi listing (%d) returned no entries", len(dirs)) } var recycled = make([]listREntry, len(dirs)) f.listRmu.Lock() @@ -1774,7 +1774,7 @@ func (f *Fs) listRRunner(ctx context.Context, wg *sync.WaitGroup, in chan listRE // empty so must have made a mistake if len(f.listRempties) == 0 { if atomic.SwapInt32(&f.grouping, listRGrouping) != listRGrouping { - fs.Logf(f, "Re-enabling ListR as previous detection was in error") + fs.Debugf(f, "Re-enabling ListR as previous detection was in error") } } }