Progress shown is overlapping on console during copy command

While running copy command, the progress on console is getting overlapped with console output. This issue comes only when the --log-file flag is used to redirect the logs. I debugged a bit and found out that printProgress() function is not able to correctly calculate the starting and ending position of previously written block.
Question - How can this overlapping be solved (attaching the screenshot of console to show overlapping) ?

Command used -
go run rclone.go copy folder-path --config path-to-config-file --log-file a.txt -vP

Note - a.txt is the file in which logs are getting redirected.


Rclone version used -
rclone v1.2.0

  • os/arch: windows/amd64
  • go version: go1.12.9

Best to raise an issue for it as you seem to have narrowed it down quite well!

Sure, I just raised an issue for this.

I think this is very likely the same issue as https://github.com/rclone/rclone/issues/3500 and https://github.com/rclone/rclone/issues/2623 which is a bug in windows 10 which is fixed in Windows 10 1903

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.