Re: Systemd vs logging collector

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andomar <andomar(at)aule(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Systemd vs logging collector
Date: 2015-07-01 13:57:49
Message-ID: 2465.1435759069@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andomar <andomar(at)aule(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2015-07-01 17:58:43 Re: Which replication is the best for our case ?
Previous Message Adrian Klaver 2015-07-01 13:57:01 Re: Systemd vs logging collector