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
link|improve this question
feedback

migrated from stackoverflow.com Sep 20 '11 at 19:57

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown