BUG #17228: Adding 'syslog' to log_destination causes postgres service throw an error when restarted. - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17228: Adding 'syslog' to log_destination causes postgres service throw an error when restarted.
Date
Msg-id 17228-398f9949774b7c4e@postgresql.org
Whole thread Raw
List pgsql-bugs
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


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17227: segmentation fault with jsonb_to_recordset
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #17227: segmentation fault with jsonb_to_recordset