rsync logfile - daemon does not log enough
jw at pegasys.ws
Fri Sep 12 07:22:09 EST 2003
On Thu, Sep 11, 2003 at 05:06:50PM -0400, Aaron Stanford wrote:
> I am running rsync version 2.56 in daemon mode on a server running Redhat 8.0.
> When I check my log file (located in /var/log/rsyncd.log), the only lines I see
> have to do with the server starting up, like so:
> 2003/09/11 16:53:42  rsyncd version 2.5.6 starting, listening on port 873
> I would like to see output relating to connections, usernames etc., so I set up
> the following rsyncd.conf file in /etc:
> transfer logging = yes
> log format = %u %f %b
> log file = /var/log/rsyncd.log
> pid file = /var/run/rsyncd.pid
> lock file = /var/run/rsync.lock
> path = ~backup
> uid = nobody
> gid = nobody
> read only =no
> list = yes
> auth users = djohn gstan
> secrets file = /etc/rsync.sec
> I am running rsync over ssh with the following command from a remote server:
> rsync -avvze ssh filename djohn at remoteserver:.
> The file transfers fine, but I get no output in the log on the server. Can
> someone point me in the right direction? I've read the documentation and
> examples, searched Google and the mailing list, and haven't come across the
> information I'm looking for. Thank you for your regard.
You aren't connecting to the rsync daemon as should be
obvious from the verbose*2 output of your rsync command.
Look again at the rsync in the "GENERAL" section where the
"eight different ways of using rsync" are described.
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync