how to clear server log

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

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shu Ho 2010-02-23 18:50:25
Previous Message Peter Headland 2010-02-23 18:38:22 Re: COPY command character set