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-14 14:47:54
Message-ID: Pine.LNX.4.30.0106141646100.767-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Lamar Owen writes:

> On Wednesday 13 June 2001 16:39, Peter Eisentraut wrote:
> > Lamar Owen writes:
> > > Use syslog. Syslog has many advantages:
> > Disadvantage:
>
> > Some messages will get lost.
>
> I have yet to see a 'lost' syslog message here, in over three years.

I didn't mean sylog losing messages, but some PostgreSQL messages not
getting there.

> Which is worse, though:
> 1.) An occasional lost log message;
> 2.) Downtime due to pulling down the entire server to rotate a log.
>
> If syslog looses messages, let's try helping fix syslog rather than
> recommending Yet Another Log Rotating Solution.

YALRS is fine by me. Note that syslog requires root access, which we
don't want to require.

--
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 Nils Zonneveld 2001-06-14 15:00:53 Re: Newbie questions
Previous Message David D. Kilzer 2001-06-14 14:31:06 [PATCH] Contrib C source for casting MONEY to INT[248] and FLOAT[48]