I have got rsync V2.6.2 running on a few netware clients that sync file to a Suse Enterprise Server 9. In suse rsync is running as a daemon and on Netware I run a Perl script as a cron job. I want to get logs for individual servers. Currently all rsync logs are going to
/var/log/rsyncd.log and the /etc/rsyncd.conf file looks like this -
Code:
uid = myrsync
max connections = 0
read only = false
use chroot = false
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log
[Client1]
path = /path/to/client1
comment = client1
read only = no
use chroot = no
timeout = 3600
transfer logging = yes
[Client2]
path = /path/to/client2
comment = client2
read only = no
use chroot = no
transfer logging = yes
timeout = 3600
I want seperate log for client1 and client2 in /var/log/client1 and /var/log/client2 respectively.