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

Re: pg_log directory

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: slamp slamp <slackamp(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_log directory
Date: 2008-08-23 14:05:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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.

Devrim GÜNDÜZ,,

In response to

pgsql-admin by date

Next:From: Devrim GÜNDÜZDate: 2008-08-23 14:07:48
Subject: Re: pg_log directory
Previous:From: Jeff FrostDate: 2008-08-23 05:28:53
Subject: Re: restoring from dump

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