Re: Size of logfiles - Mailing list pgsql-admin

From Chris Browne
Subject Re: Size of logfiles
Date
Msg-id 60veemp77i.fsf@dba2.int.libertyrms.com
Whole thread Raw
In response to Size of logfiles  (Peter Elmers <p.elmers@gmx.de>)
Responses Re: Size of logfiles  (Peter Elmers <p.elmers@gmx.de>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Size of logfiles
Next
From: "Peter Koczan"
Date:
Subject: trouble restarting a server