Re: 8.3.x log maintenance

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Steve Clark <sclark(at)netwolves(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.3.x log maintenance
Date: 2008-10-27 14:18:39
Message-ID: 4905CDBF.80307@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 with "n" log
> files?

logrotate?

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-10-27 15:17:55 Re: 8.3.x log maintenance
Previous Message Raymond O'Donnell 2008-10-27 14:17:53 Re: Replication with slony-I