Re: Syslog and pg_options (for RPMs)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Syslog and pg_options (for RPMs)
Дата
Msg-id 12928.981665762@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Syslog and pg_options (for RPMs)  (Lamar Owen <lamar.owen@wgcr.org>)
Список pgsql-hackers
Lamar Owen <lamar.owen@wgcr.org> writes:
> AOLserver is one example that successfully redirects dynamic linker
> messages to it's own log.

Oh?  How?  Are you sure they're not just piping stderr to a program
of their own devising?  That's basically what I'm recommending.

> Is syslog not portable enough?

It's got a lot of limitations and problems of its own, on many
platforms... but the fundamental point is that without an external
redirector, we are never going to get everything of interest sent
to syslog.

> A syslogger of stderr would make a nice place to pipe the output :-).
> 'postmaster .... 2>&1 | output-to-syslog-program -f facility.desired' or
> some such. But that obviates the need to support syslog _at_all_ in the
> backend,

Precisely my point.  I think working hard on syslog support inside elog
is misplaced effort.
        regards, tom lane


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

Предыдущее
От: "Dominic J. Eidson"
Дата:
Сообщение: Re: Syslog and pg_options (for RPMs)
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: Syslog and pg_options (for RPMs)