Using --progress logging to a file

What is the problem you are having with rclone?

I am currently using the --progress flag with:

rclone --progress sync --use-mmap --buffer-size=16M --checkers=64 --transfers 64 s3:acme-cloud-storage crypt: > /var/log/rclone 2>&1

But the log file is getting very huge quickly, there are millions of files to check and sync. Is there a better option besides --progress that is more suited for logging vs on-screen display?

What is your rclone version (output from rclone version)

v1.56.0

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 18.04 x64

Which cloud storage system are you using? (eg Google Drive)

Amazon S3 and Backblaze B2 Cloud with crypt.

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone --progress sync --use-mmap --buffer-size=16M --checkers=64 --transfers 64 s3:acme-cloud-storage crypt: > /var/log/rclone 2>&1

hello,

have you tried these flags...

https://rclone.org/docs/#log-file-file
https://rclone.org/docs/#log-level-level

@asdffdsa yes, I didn't see anything logged using rclone --log-file=/var/log/rclone --log-level INFO .... I don't believe log-file will log checking progress. Also the --progress flag even when log-file is enabled writes to screen. If I remove --progress I don't see anything written to the log file even after running a few minutes.

what about --log-level DEBUG

Oh, nevermind it just took awhile for logging to start. Now I see log INFO being sent.

Thanks @asdffdsa

glad to help you get it working...

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