On Fri, 1 Aug 2003, Martin Pool wrote:
> On 1 Aug 2003, "Nikita V. Youshchenko" <[EMAIL PROTECTED]> wrote:
> > Package: distcc
> > Version: 2.5.1-1
> > Severity: important
> >
> > I just found a 26-megabyte /var/log/distccd.log ..
> >
> > Distcc package should support distccd log rotation.
>
> Thankyou for the suggestion. It is a good idea.
>
> The main thing would be to add distcc to the logrotate configuration.
>
> There is no support at the moment for distcc to reopen its log files,
> so it would need to either write out through syslog, or be shut down
> and restarted, or to gain the ability to reopen logs on say a SIGHUP.
logrotate has the ability to copy the logfile and truncate the existing so
that you may not have to restart/send signals to the process. It is called
copytruncate but it might loose some data between copying and truncating.
My package had a logrotate file, but it seems not to work using
copytruncate and I'm not sure why. Is distcc just appending to the file ?
/var/log/distccd.log {
missingok
copytruncate
notifempty
}
Kind regards,
-- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ --
[Any errors in spelling, tact or fact are transmission errors]
__
distcc mailing list http://distcc.samba.org/
To unsubscribe or change options:
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc