I've attached a patch for pg_ctl which integrates the Apache project's 
rotatelogs for logging. Is there any interested in the community for 
such a thing? I have not yet added the appropriate stuff to autoconf to 
completely integrate this.

I would appreciate any suggestions for improvement.

Drew
Wed, 24 Mar 2004 15:36:20 -0500
Andrew Hammond <ahammond@ca.afilias.info>
rotatelogs integration in pg_ctl
Andrew Hammond <ahammond@ca.afilias.info> writes:
> I've attached a patch for pg_ctl which integrates the Apache project's 
> rotatelogs for logging.

Why bother?  You just pipe pg_ctl's output to rotatelogs and you're
done.

			regards, tom lane

Wed, 24 Mar 2004 16:36:54 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: rotatelogs integration in pg_ctl 
Tom Lane wrote:
> Andrew Hammond <ahammond@ca.afilias.info> writes:
> 
>>I've attached a patch for pg_ctl which integrates the Apache project's 
>>rotatelogs for logging.
> 
> Why bother?  You just pipe pg_ctl's output to rotatelogs and you're
> done.

It's not difficult to do, once you know how and once you know that there 
aren't any gotchas. However, the question comes up often enough it's 
clear that not everybody knows how. This provides a simple, clean, 
standardized way of using rotatelog. The patch is simple, low risk, and 
limited impact. So, why not?

Drew

Thu, 08 Apr 2004 14:36:38 -0400
Andrew Hammond <ahammond@ca.afilias.info>
Re: rotatelogs integration in pg_ctl