Re: 8.3.x log maintenance - Mailing list pgsql-general

From Tom Lane
Subject Re: 8.3.x log maintenance
Date
Msg-id 16892.1225120675@sss.pgh.pa.us
Whole thread Raw
In response to 8.3.x log maintenance  (Steve Clark <sclark@netwolves.com>)
Responses Re: 8.3.x log maintenance  (Steve Clark <sclark@netwolves.com>)
List pgsql-general
Steve Clark <sclark@netwolves.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

pgsql-general by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: 8.3.x log maintenance
Next
From: Robert Treat
Date:
Subject: Re: [HACKERS] Hot Standby utility and administrator functions