pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: sivaram.subramani@signify.com
Subject: BUG #17228: Adding 'syslog' to log_destination causes postgres service throw an error when restarted.
Date: Wed, 13 Oct 2021 13:11:15 +0000
Message-ID: <17228-398f9949774b7c4e@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      17228
Logged by:          Sivaram Vasudevan
Email address:      sivaram.subramani@signify.com
PostgreSQL version: 12.0
Operating system:   Windows 2019 Server
Description:        

Hi,
 
I am trying to harden the postgresql 12 installation using the benchmark
provided by https://www.cisecurity.org.
One of the test case is "Ensure the correct syslog facility is selected". By
default log_destination is 'stderr'. When I add 'syslog' to log_destination
in postgresql.conf, and restart psotgres service, the service fails to
start. In windows event viewer, we see error stating that postgresql.conf
file contains errors.
Kindly guide me how to enable syslog for postgres and use LOCAL1 as the
facility.

Thanks and Regards,
Sivaram



Message-ID: <17228-398f9949774b7c4e@postgresql.org>
Permalink:  ../17228-398f9949774b7c4e@postgresql.org/
Also on:    postgresql.org/message-id/17228-398f9949774b7c4e@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, sivaram.subramani@signify.com
  Subject: Re: BUG #17228: Adding 'syslog' to log_destination causes postgres service throw an error when restarted.
  In-Reply-To: <17228-398f9949774b7c4e@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox