I'm using Rsync 3.0.5 between two Debian boxes. I have an rsync script setup that uses --log-file=mylogfile.log and also I have specified --log-file-format=whatever. But I can't seem to get the --log-file-format to be recognized. I don't get any sort of errors, but the log format that I get is just the default, no matter how I change the format option. Just for simplicity's sake, I first tried --log-file-format="%t %f" Which (according to the man pages) should simply write a line with the date/time and then the filename that is synced. Am I doing something wrong? Is it not supposed to be in quotes? Is it supposed to be in parenthesis? I have tried many different combinations of things and I just can't seem to get my log files to be formatted in anything but the default. Also, at one point I thought, oh well maybe specifying the log format only applies toward the default log that rsync saves which is specified in the rsyncd.conf file. But on these Debian boxes, I can't seem to find an rsyncd.conf anywhere. They are web servers for my company, not my own boxes, so its a little bit unfamiliar to me. All I know is that 'locate rsyncd.conf' does not return any results. jake
On Fri 13 Mar 2009, Jake Wilson wrote:> I'm using Rsync 3.0.5 between two Debian boxes. I have an rsync > script setup that uses --log-file=mylogfile.log and also I have > specified --log-file-format=whatever. But I can't seem to get the > --log-file-format to be recognized. I don't get any sort of errors, > but the log format that I get is just the default, no matter how I > change the format option.You don't show the _exact_ commands you're using, so it's hard to tell what the problem is. Try not to obfuscate details unless you really have to, as details can be very important...> Also, at one point I thought, oh well maybe specifying the log format > only applies toward the default log that rsync saves which is > specified in the rsyncd.conf file. But on these Debian boxes, I can'tAre you talking to an rsync daemon? If not, rsyncd.conf is not relevant. If a daemon is being used when the rsyncd.conf should be in /etc/. Paul