Re: Log files, how to rotate properly - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Log files, how to rotate properly
Date
Msg-id Pine.LNX.4.30.0106132239060.756-100000@peter.localdomain
Whole thread Raw
In response to Re: Log files, how to rotate properly  (Lamar Owen <lamar.owen@wgcr.org>)
Responses Re: Log files, how to rotate properly
List pgsql-general
Lamar Owen writes:

> Use syslog.  Syslog has many advantages:
> 1.)    Easily rollable.
> 2.)    Redirectable to various files and/or remote machines -- including
> hardcopy, and including multiple files at once (splitting).
> 3.)    PostgreSQL 7.1 has excellent syslog support.
> 4.)    You don't have to shut anything down to roll the logs.
> 5.)    Thanks to item 2, you could have a single syslog machine accept the
> syslog output of multiple PostgreSQL servers, integrating the log into one,
> if you wish.

Disadvantage:

Some messages will get lost.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: Martín Marqués
Date:
Subject: Re: Log files, how to rotate properly
Next
From: Peter Eisentraut
Date:
Subject: Re: Vacuum analyze in 7.1.1