Re: Systemd vs logging collector
От | Adrian Klaver |
---|---|
Тема | Re: Systemd vs logging collector |
Дата | |
Msg-id | 5593F1AD.3050005@aklaver.com обсуждение исходный текст |
Ответ на | Re: Systemd vs logging collector (Andomar <andomar@aule.net>) |
Список | pgsql-general |
On 07/01/2015 05:26 AM, Andomar wrote: >> are you just missing this parameter: >> >> #log_destination = 'stderr' # Valid values are >> combinations of >> # stderr, csvlog, syslog, and >> eventlog, >> # depending on platform. csvlog >> # requires logging_collector >> to be on. >> > > Thanks for your reply, log_destination is set to "stderr". And > logging_collector is "on". And you have the log_directory set up? > > 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. Best guess is the systemd script is catching and redirecting the output first. > > Kind regards, > Andomar > > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления: