| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера