mirror of
https://github.com/rclone/rclone.git
synced 2025-06-03 18:53:16 +08:00
fs: improve log output when no changes are made - fixes #3454
- changes a few log messages to debug level - adds a log message for when 0 bytes are transferred
This commit is contained in:

committed by
Nick Craig-Wood

parent
5c869d5bd3
commit
1d73f071f6
@ -640,7 +640,7 @@ func DeleteFilesWithBackupDir(ctx context.Context, toBeDeleted fs.ObjectsChan, b
|
||||
}
|
||||
}()
|
||||
}
|
||||
fs.Infof(nil, "Waiting for deletions to finish")
|
||||
fs.Debugf(nil, "Waiting for deletions to finish")
|
||||
wg.Wait()
|
||||
if errorCount > 0 {
|
||||
err := errors.Errorf("failed to delete %d files", errorCount)
|
||||
@ -872,7 +872,7 @@ func CheckFn(ctx context.Context, fdst, fsrc fs.Fs, check checkFn, oneway bool)
|
||||
Dir: "",
|
||||
Callback: c,
|
||||
}
|
||||
fs.Infof(fdst, "Waiting for checks to finish")
|
||||
fs.Debugf(fdst, "Waiting for checks to finish")
|
||||
err := m.Run()
|
||||
|
||||
if c.dstFilesMissing > 0 {
|
||||
|
Reference in New Issue
Block a user