Skip site navigation (1) Skip section navigation (2)

Re: 8.3.x log maintenance

From: Steve Clark <sclark(at)netwolves(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.3.x log maintenance
Date: 2008-10-27 16:10:25
Message-ID: 4905E7F1.9000607@netwolves.com (view raw or flat)
Thread:
Lists: pgsql-general
Tom Lane wrote:
> 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
> 
> 
Great,

Thanks Tom.

In response to

pgsql-general by date

Next:From: Simon RiggsDate: 2008-10-27 16:12:18
Subject: Re: [HACKERS] Hot Standby utility and administrator functions
Previous:From: Robert TreatDate: 2008-10-27 15:42:47
Subject: Re: [HACKERS] Hot Standby utility and administrator functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group