Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 12:41:36 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        darryl@osborne-ind.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rsync question
Message-ID:  <354AF10C-5B27-11D8-8AE0-003065ABFD92@mac.com>
In-Reply-To: <027201c3ef32$fe3fc060$0701a8c0@darryl>
References:  <027201c3ef32$fe3fc060$0701a8c0@darryl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 9, 2004, at 12:34 PM, Darryl Hoar wrote:
> I'm running 5.1-release.  I've installed rsync from ports.
> I've looked at the man pages and only saw where I
> can specifiy the log format.  How do I  specify a log
> file?  or must I :  rsync -av /test/ /tmp/test > mylog.txt ?

The rsync documentation says that logging goes to stdout:

        --log-format=FORMAT
               This allows you to specify exactly what the rsync client 
logs to
               stdout  on  a  per-file basis. The log format is 
specified using
               the  same  format  conventions  as  the  log  format  
option  in
               rsyncd.conf.

...so redirecting the output to the logfile as you've done is right.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?354AF10C-5B27-11D8-8AE0-003065ABFD92>