Hi, We have a rsync server running on a HP-UX 11.11 server. The version of rsync is 2.6.3. There are several machines regularly rsync a lot of stuff(files and directories) to/from this server everyday. When we run rsync on these machines, we prefer running rsync with "-v" option (for verbose) so that we can see the progress of the rsync. On the rsync server, rsyncd.conf file, we have the following global settings: syslog facility = local5 transfer logging = no And in syslog.conf file, we have the following settings: *.info;local5.none /var/adm/syslog/syslog.log local5.info /var/adm/syslog/rsync.log I noticed if we run rsync with "-v" option, the rsync.log on the server grows very quickly because it logged all the directories that got rsynced, which is a lot. The files that got rsynced are not logged because we turned off "transfer logging" setting. 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? Thank you very much for your help! Xiaoqin Qiu Agilent Technologies, Inc.
On Thu, Feb 24, 2005 at 12:35:21PM -0700, xiaoqin_qiu@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). ..wayne..
On Thu, Feb 24, 2005 at 02:35:29PM -0800, Wayne Davison wrote:> Add this line to your rsyncd.conf (in either the global-settings section > or an individual module): > > max verbosity = 0Oops -- that is only a global setting, not a per-module setting. ..wayne..
Where can I find information for this option? Thanks, Xiaoqin Qiu Technical Computing Group IT Infrastructure Services Organization Agilent Technologies, Inc. (818)879-6220 xiaoqin_qiu@agilent.com -----Original Message----- From: Wayne Davison [mailto:wayned@samba.org] Sent: Thursday, February 24, 2005 2:48 PM To: xiaoqin_qiu@agilent.com Cc: rsync@lists.samba.org Subject: Re: How to control rsync log? On Thu, Feb 24, 2005 at 02:35:29PM -0800, Wayne Davison wrote:> Add this line to your rsyncd.conf (in either the global-settings section > or an individual module): > > max verbosity = 0Oops -- that is only a global setting, not a per-module setting. ..wayne..