pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: Size of logfiles
Date: Mon, 21 May 2007 10:44:17 -0400
Message-ID: <60veemp77i.fsf@dba2.int.libertyrms.com> (raw)
References: <FBE7FA48-3F63-4158-B0D1-5406424A1457@gmx.de>

p.elmers@gmx.de (Peter Elmers) writes:
> I have searched the web and am sorry to say that i found nothing
> about the default behavior of the log files of postgres.
>
> Can anyone tell me when postgres will delete the logfiles or what
> postgres automatically do with them?

Can you be a bit more precise about that?

There are the WAL log files; I expect you're not talking about that.

I expect you're talking about the log files containing error messages,
warnings, and such.

PostgreSQL will not, itself, purge out such files; consider that you
can configure it to distribute log information via syslog, which would
push the logs into a mostly OS-managed area.  

You'll presumably want to figure out what YOU want your policy to be,
and find suitable tools (lots available) to implement that policy...
-- 
(reverse (concatenate 'string "ofni.secnanifxunil" "@" "enworbbc"))
http://linuxfinances.info/info/linuxxian.html
"We should start referring to processes which run in the background by
their correct technical name:... paenguins."  -- Kevin M Bealer



view thread (6+ messages)  latest in thread

Message-ID: <60veemp77i.fsf@dba2.int.libertyrms.com>
Permalink:  ../60veemp77i.fsf@dba2.int.libertyrms.com/
Also on:    postgresql.org/message-id/60veemp77i.fsf@dba2.int.libertyrms.com

 · 

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: cbbrowne@acm.org
  Subject: Re: Size of logfiles
  In-Reply-To: <60veemp77i.fsf@dba2.int.libertyrms.com>

* 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