Re: how to clear server log - Mailing list pgsql-general

From Ben Chobot
Subject Re: how to clear server log
Date
Msg-id 28EB5229-2215-47DA-9959-E820CBA584CA@silentmedia.com
Whole thread Raw
In response to Re: how to clear server log  (Amy Smith <vah123@gmail.com>)
List pgsql-general
On Feb 24, 2010, at 7:57 AM, Amy Smith wrote:

> this is the server log file, how many days server log files need to be keep as a mimumum ?
>
> thanks

That question is up to you to answer. How far back do you want to be able to look? What do you do with your log files?
Asyou no doubt have realized, more logs take more space and so you can't just keep everything, but generally the more
thebetter. As a data point that may or may not be good advice for you, we keep a week's worth of log files, but mostly
that'sjust for paranoia. We do all our processing in real-time or the day after. 

pgsql-general by date:

Previous
From: Ben Chobot
Date:
Subject: Re: pg_buffercache's usage count
Next
From: Alex Hunsaker
Date:
Subject: Re: How to get the permissions assigned to user?