Make retry logs be debug in main copy routine

This commit is contained in:
Nick Craig-Wood 2016-06-25 21:22:50 +01:00
parent 3ad8fb8634
commit 13797a1fb8

View File

@ -250,7 +250,7 @@ func Copy(f Fs, dst, src Object) {
}
// Retry if err returned a retry error
if IsRetryError(err) || ShouldRetry(err) {
Log(src, "Received error: %v - low level retry %d/%d", err, tries, maxTries)
Debug(src, "Received error: %v - low level retry %d/%d", err, tries, maxTries)
if removeFailedCopy(dst) {
// If we removed dst, then nil it out and note we are not updating
dst = nil