Re: 8.3.x log maintenance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 15:17:55
Message-ID: 16892.1225120675@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve Clark <sclark(at)netwolves(dot)com> 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 use the day of the week in the
filename if you wanted seven daily log files.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2008-10-27 15:42:47 Re: [HACKERS] Hot Standby utility and administrator functions
Previous Message Raymond O'Donnell 2008-10-27 14:18:39 Re: 8.3.x log maintenance