Re: syslog_line_prefix

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: syslog_line_prefix
Дата
Msg-id 14922.1254082521@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: syslog_line_prefix  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: syslog_line_prefix  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On Fri, 2009-09-25 at 14:58 -0600, Joshua Tolley wrote:
>> Actually the thing I want is to be able to send some stuff to syslog,
>> and some to a file, and other stuff to another file. This patch
>> doesn't do all that, but lays the necessary groundwork.

> Then why not send everything to syslog and have syslog filter it to the
> places you want to?  That is what syslog is for, after all.

We send all syslog output with the same identifier/priority/facility,
so there's not a lot of hope of getting syslog to do any useful
filtering (at least not with the versions of syslog I'm familiar with).

Possibly it'd be worth trying to make that more configurable, but
that would require a lot of the same infrastructure and complexity
we're arguing about now.  And it'd still be no help to Windows users.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: syslog_line_prefix
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: syslog_line_prefix