pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim GÜNDÜZ <devrim@gunduz.org>
To: slamp slamp <slackamp@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_log directory
Date: Sat, 23 Aug 2008 17:05:32 +0300
Message-ID: <1219500332.19104.5.camel@laptop.gunduz.org> (raw)
In-Reply-To: <78926d250808210625m222d1fbcn229d238ab37e7507@mail.gmail.com>
References: <78926d250808201343x41e6840cma213c92572ec4268@mail.gmail.com>
	<10859.1219282681@sss.pgh.pa.us>
	<78926d250808210625m222d1fbcn229d238ab37e7507@mail.gmail.com>

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

Attachments:

  signature.asc (application/pgp-signature, 196B) download

view thread (8+ messages)  latest in thread

Message-ID: <1219500332.19104.5.camel@laptop.gunduz.org>
Permalink:  ../1219500332.19104.5.camel@laptop.gunduz.org/
Also on:    postgresql.org/message-id/1219500332.19104.5.camel@laptop.gunduz.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: devrim@gunduz.org, slackamp@gmail.com
  Subject: Re: pg_log directory
  In-Reply-To: <1219500332.19104.5.camel@laptop.gunduz.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox