Re: syslog_line_prefix

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: syslog_line_prefix
Дата
Msg-id 20090915181817.GE3907@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: syslog_line_prefix  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: syslog_line_prefix  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Magnus Hagander wrote:

> I'm not sure I like this as a GUC. We're going to end up with a lot of
> different GUCs, and everytime we add a new log destination (admittedly
> not often, of course), that increases even further. And GUCs really
> don't provide the level of flexibility you'd really like to have. I've
> been thinking (long-term) in the direction of a separate config file,
> since that could contain an arbitrary number of lines, with "rules" on
> them (somewhat like pg_hba.conf maybe).

I tend to agree with this idea, but I'm not sure about rejecting the
current patch because of it.

FWIW one of the things that this "rules of logging config" system should
support is configuring each type of server process differently, for
example set min_log_level to debug2 for autovacuum only, etc.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: revised hstore patch
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Timestamp to time_t