Re: how to clear server log

From: Amy Smith <vah123(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: how to clear server log
Date: 2010-02-24 14:57:55
Message-ID: 520645a61002240657r731db0b8u62626656a40ea10e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

thanks

On Tue, Feb 23, 2010 at 1:49 PM, Amy Smith <vah123(at)gmail(dot)com> wrote:

> All
>
> do you clean up the server file by removing them
> use
>
> find $logfile -mtime +$NUMBER_DAYS_TO_KEEP -type f -print -exec rm -f {}
> \;
>
> in postgres ?
>
> How to remove the archive log files in postgres ? is the same way as remove
> backup files and server log files ?
>
>
> thanks
> Amy
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Neyman 2010-02-24 15:16:21 Re: select t.name from tbl t (where "name" is not a column name)
Previous Message A. Kretschmer 2010-02-24 14:57:45 Re: PostgreSQL install fails with 1603 error