Christopher Browne cbbrowne
Mon May 9 17:28:57 PDT 2005
Sean Kirkpatrick wrote:

> Hello All,
>
> What is the recommended method for maintaining the slony generated log
> files.  I have tried using logrotate and 'cat /dev/null > slony_log',
> but once the log is truncated, the space is taken back by what appears
> to be binary data as the first entry in the log...
>
> I would really like to not have to stop slony to cycle the log file,
> if possible...
>
Hmm.

There's some built-in support for using apache rotatelogs for the job.

I haven't tried using cfengine to rotate the logs, but would expect that
to work.

If things are running well, killing the process and restarting to get a
rotation would not be overly disastrous...


More information about the Slony1-general mailing list