Re: Systemd vs logging collector - Mailing list pgsql-general

From Tom Lane
Subject Re: Systemd vs logging collector
Date
Msg-id 2465.1435759069@sss.pgh.pa.us
Whole thread Raw
In response to Re: Systemd vs logging collector  (Andomar <andomar@aule.net>)
List 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 by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Systemd vs logging collector
Next
From: John R Pierce
Date:
Subject: Re: Which replication is the best for our case ?