Re: rotatelogs integration in pg_ctl - Mailing list pgsql-hackers

From Andrew Hammond
Subject Re: rotatelogs integration in pg_ctl
Date
Msg-id 40759BB6.3070903@ca.afilias.info
Whole thread Raw
In response to Re: rotatelogs integration in pg_ctl  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Function to kill backend
Next
From: Dennis Bjorklund
Date:
Subject: Re: locale