I want to use rsync command and have create a log file rsync.log using the rsyncd.conf file. I want to monitor the log file for different log formats e.g. %h %a. But my log file is not showing the exact logs. How could i set the --log-file-format either using conf file or on command itself? sample code of rsyncd.conf:
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[rajeev]
path = /tmp/rajeev
comment = My Very Own Rsync Server in tmp
uid = nobody
gid = nobody
#transfer logging = true
log format = '%h %o %f %l %b'
read only = no
auth users = rajeev
secrets file = /etc/rsyncd.secrets