Search Postgresql Archives

Re: Systemd vs logging collector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux