rsync output and log FORMAT escapes

Kevin Korb kmk at sanitarium.net
Tue Jan 14 13:56:50 MST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It is in the man page for rsyncd.conf (I think) because it is really
intended to control the logging of an rsyncd service.  When you run
rsync on the command line you can always just |tee or > to log the
output to a file.

On 01/14/2014 03:51 PM, Florian Feldhaus wrote:
> Hi,
> 
> thanks for the information. I would have expected it in the rsync
> manpage (that’s what I searched).
> 
> Regarding my second question, is there a way to only output the
> rsync summary to the log file and not to stdout? When I use
> --stats, the summary is written into the log file and on screen.
> 
> Cheers Florian
> 
> Am 14.01.2014 um 18:22 schrieb Kevin Korb <kmk at sanitarium.net>:
> 
> The info is under "log format" in man rsyncd.conf
> 
> On 01/14/2014 10:00 AM, Florian Feldhaus wrote:
>>>> Hi,
>>>> 
>>>> I’m currently evaluating the new possibilities of rsync 3.1.0
>>>> with regards to customizing the output / log format.
>>>> Unfortunately I couldn’t find a complete list of FORMAT
>>>> escapes. Could someone point me to it?
>>>> 
>>>> More specific, I would like to include the statistics of the 
>>>> --stats parameter only in the log file and not in the stdout.
>>>> How can I achieve this with --out-format and
>>>> --log-file-format?
>>>> 
>>>> Cheers Florian
>>>> 
> 
>> -- Please use reply-all for most replies to avoid omitting the
>> mailing list. To unsubscribe or change options:
>> https://lists.samba.org/mailman/listinfo/rsync Before posting,
>> read: http://www.catb.org/~esr/faqs/smart-questions.html

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLVpJIACgkQVKC1jlbQAQdfwwCfTLgwxDI53q0NDaVIX32zb8Cd
0dcAoLiLZ2EwTs6J7CFogD+mpzv7065c
=aTEk
-----END PGP SIGNATURE-----


More information about the rsync mailing list