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

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 (view raw or flat)
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

pgsql-general by date

Next:From: Shu HoDate: 2010-02-23 18:50:25
Subject:
Previous:From: Peter HeadlandDate: 2010-02-23 18:38:22
Subject: Re: COPY command character set

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