Re: [GENERAL] 8.3.x log maintenance

2008-10-27 Thread Steve Clark
Tom Lane wrote: Steve Clark <[EMAIL PROTECTED]> writes: I have postgres logging into data/pg_log/ which works great. My question is there and option that tells postgres to only keep the last "n" log files? The usual solution is to choose a filename pattern that will repeat after an appropri

Re: [GENERAL] 8.3.x log maintenance

2008-10-27 Thread Tom Lane
Steve Clark <[EMAIL PROTECTED]> writes: > I have postgres logging into data/pg_log/ which works great. My question is > there > and option that tells postgres to only keep the last "n" log files? The usual solution is to choose a filename pattern that will repeat after an appropriate interval, eg

Re: [GENERAL] 8.3.x log maintenance

2008-10-27 Thread Raymond O'Donnell
On 27/10/2008 13:19, Steve Clark wrote: > I have postgres logging into data/pg_log/ which works great. My > question is there and option that tells postgres to only keep the > last "n" log files? Or does someone have a script that be run daily > to remove the older log files so that I only end up

[GENERAL] 8.3.x log maintenance

2008-10-27 Thread Steve Clark
Hi, I have postgres logging into data/pg_log/ which works great. My question is there and option that tells postgres to only keep the last "n" log files? Or does someone have a script that be run daily to remove the older log files so that I only end up with "n" log files? Thanks, Steve log_