Re: [GENERAL] how to clear server log

2010-02-24 Thread Amy Smith
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 vah...@gmail.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

Re: [GENERAL] how to clear server log

2010-02-24 Thread Ben Chobot
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? As you no doubt have

[GENERAL] how to clear server log

2010-02-23 Thread Amy Smith
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

Re: [GENERAL] how to clear server log

2010-02-23 Thread Ben Chobot
On Feb 23, 2010, at 11:49 AM, Amy Smith 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

Re: [GENERAL] how to clear server log

2010-02-23 Thread Reid Thompson
On Tue, 2010-02-23 at 13:49 -0500, Amy Smith wrote: All do you clean up the server file by removing them use google logrotate man logrotate -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: