How to control rsync log?
wayned at samba.org
Thu Feb 24 22:35:29 GMT 2005
On Thu, Feb 24, 2005 at 12:35:21PM -0700, xiaoqin_qiu at agilent.com wrote:
> Is there a way to let rsync server to have the ability to control if
> it wants to log those directory changes or not, like "transfer
> logging" does for files?
Add this line to your rsyncd.conf (in either the global-settings section
or an individual module):
max verbosity = 0
(That setting is present in 2.6.3, but not documented.) That will keep
the verbose flag from getting set on the server even when the user
chooses to specify -v for themselves. As long as the user isn't sending
files to the server, they shouldn't notice a difference in the output.
When files are being sent to the server, that setting will prevent the
generator from outputting about new directories and symlinks in 2.6.3
(but 2.6.4 will handle this properly).
More information about the rsync