Re: Log files, how to rotate properly

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Dave Cramer <Dave(at)micro-automation(dot)net>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Log files, how to rotate properly
Date: 2001-06-13 20:39:48
Message-ID: Pine.LNX.4.30.0106132239060.756-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Wolfe 2001-06-13 21:09:18 Re: Oracle news article
Previous Message Peter Eisentraut 2001-06-13 20:38:24 Re: Vacuum analyze in 7.1.1