Re: rsyncd log file option and logrotate

2001-06-14 Thread Scott Russell
Tim - At the suggestion of someone else I've added the 'delaycompress' directive to the config. This will leave the file uncompressed after moving it and compress it on the next rotation. Here's my current logrotate stanza: /var/log/rsyncd.log { rotate 12 monthly delaycompres

Re: rsyncd log file option and logrotate

2001-06-14 Thread tim . conway
MAIL PROTECTED]@SMTP [EMAIL PROTECTED]@SMTP [EMAIL PROTECTED]@SMTP cc: Subject: Re: rsyncd log file option and logrotate Classification: On Wed, Jun 13, 2001 at 03:54:31PM -0500, Dave Dykstra wrote: > On Wed, Jun 13, 2001 at 04:38:52PM -0400, Scott Russell wrote: > > David

Re: rsyncd log file option and logrotate

2001-06-14 Thread Martin Pool
On 13 Jun 2001, Scott Russell <[EMAIL PROTECTED]> wrote: > On Wed, Jun 13, 2001 at 03:54:31PM -0500, Dave Dykstra wrote: > > On Wed, Jun 13, 2001 at 04:38:52PM -0400, Scott Russell wrote: > > > David - > > > > > > No, no problem, yet. Just trying to avoid problems. :) I think the question > > > r

Re: rsyncd log file option and logrotate

2001-06-13 Thread Scott Russell
On Wed, Jun 13, 2001 at 03:54:31PM -0500, Dave Dykstra wrote: > On Wed, Jun 13, 2001 at 04:38:52PM -0400, Scott Russell wrote: > > David - > > > > No, no problem, yet. Just trying to avoid problems. :) I think the question > > really boils down to what happens if the logfile rsyncd is writing to

Re: rsyncd log file option and logrotate

2001-06-13 Thread Dave Dykstra
On Wed, Jun 13, 2001 at 04:38:52PM -0400, Scott Russell wrote: > David - > > No, no problem, yet. Just trying to avoid problems. :) I think the question > really boils down to what happens if the logfile rsyncd is writing to gets > moved out from under it? If it is during an open connection, it

Re: rsyncd log file option and logrotate

2001-06-13 Thread Scott Russell
David - No, no problem, yet. Just trying to avoid problems. :) I think the question really boils down to what happens if the logfile rsyncd is writing to gets moved out from under it? Maybe I should just run rsyncd in standalone mode and use /sbin/kill -HUP to restart it after moving the logfile

Re: rsyncd log file option and logrotate

2001-06-13 Thread Dave Dykstra
On Wed, Jun 13, 2001 at 04:03:11PM -0400, Scott Russell wrote: > Greets. > > I'm running rsyncd out of xinetd and will be logging to /var/log/rsyncd.log. > Is there anything special I need to do with rsync if I use logrotate to > manage the rsyncd.log files? Do I need to 'restart' the rsyncd proc