Re: pg_log directory - Mailing list pgsql-admin

From Devrim GÜNDÜZ
Subject Re: pg_log directory
Date
Msg-id 1219500332.19104.5.camel@laptop.gunduz.org
Whole thread Raw
In response to Re: pg_log directory  ("slamp slamp" <slackamp@gmail.com>)
List pgsql-admin
On Thu, 2008-08-21 at 09:25 -0400, slamp slamp wrote:
>
> I am using the PGDG rpms. So it has the default logging configs. its
> rotating daily but i have files there since 2007. is there a config
> option to delete these files?

You may want to change log_filename option, and set it to (for example)
"postgresql-%a.log"  so that ogs will be rotated weekly.

Actually this is what I'm planning to do for 8.4+ PGDG RPMs.

Regards,
--
Devrim GÜNDÜZ
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org


Attachment

pgsql-admin by date:

Previous
From: Jeff Frost
Date:
Subject: Re: restoring from dump
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: pg_log directory