Re: Industrial-Strength Logging - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Industrial-Strength Logging
Date
Msg-id Pine.LNX.4.21.0006021547090.406-100000@localhost.localdomain
Whole thread Raw
In response to Re: Industrial-Strength Logging  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian writes:

> Can someone tell me what happened to this?

Well, as far as I followed along we at first thought that using syslog for
logging would be fine. Then we found out that syslog is really quite
unusable. Now that is fixed, but only in a work-around kind of
fashion. Meanwhile someone came up with the idea of abducting rotatelogs
from Apache, which seems like an interesting thing to do in any case. At
the same time, it turned out that we already have a fair amount of logging
information available, you just need to turn it on.

The problems people saw with this approach in particular are the separate
logging process, the pretty deep surgery in the system in general, and the
use of non-standard error or event codes. It seems that this project went
from requirements definition to implementation without anyone knowing what
happened in between.

Yeah, let's have another logging discussion... :)


--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Lock
Next
From: Giles Lean
Date:
Subject: Re: Industrial-Strength Logging