Bug 9948 - Patch to provide progress display in log file
Summary: Patch to provide progress display in log file
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.9
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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