Bug 9948 - Patch to provide progress display in log file
Patch to provide progress display in log file
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.0.9
All All
: P5 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-13 22:17 UTC by Devin Nate
Modified: 2013-06-13 22:19 UTC (History)
0 users

See Also:


Attachments
rsync-3.0.9-log-progress.patch (5.76 KB, patch)
2013-06-13 22:17 UTC, Devin Nate
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Nate 2013-06-13 22:17:51 UTC
Created attachment 8967 [details]
rsync-3.0.9-log-progress.patch

Hi all,

Please find attached a patch we're using, which others may find useful therefore submitted here. It will log progress to the rsync log file. It does the following:

1. log progress once every 60 seconds with proper newlines, and
2. log progress at end of transfer, and
3. changes the logfile handling to log before transfer when logging (it already did this for stdout)
4. happens to modify the output of the final end-of-file transfer log format.
5. disables --show-progress from displaying on the screen, instead writing it to log.

Thanks,
Devin