Re: Systemd vs logging collector

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Systemd vs logging collector
Дата
Msg-id 2465.1435759069@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Systemd vs logging collector  (Andomar <andomar@aule.net>)
Список pgsql-general
Andomar <andomar@aule.net> writes:
> Thanks for your reply, log_destination is set to "stderr".  And
> logging_collector is "on".

> On CentOS, this results in regular Postgres log files.  On Arch Linux,
> the results end up in the system journal.  It looks like the Postgres
> logging collector somehow misses out on the stream of messages.

I'm not sure I believe that analysis.  What seems more likely to me is
that the user is looking in the wrong place for the log files.  I see
that he's got the log destination configured as "/tmp", but on at least
some Linux distributions, daemons are silently redirected to some
allegedly-more-secure directory if they try to access /tmp.

            regards, tom lane


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Systemd vs logging collector
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Which replication is the best for our case ?