[distcc] Re: Bug#203747: distcc should rotate distccd logs

Martin Pool mbp at sourcefrog.net
Tue Aug 5 00:56:53 GMT 2003


On  1 Aug 2003, Dag Wieers <dag at wieers.com> wrote:
> 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.

That sounds good.
 
> 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 ?

Yes, I think so.

> 	/var/log/distccd.log {
> 	        missingok
> 	        copytruncate
> 	        notifempty
> 	}

Let me test this.

-- 
Martin 



More information about the distcc mailing list