Thread: BUG #17228: Adding 'syslog' to log_destination causes postgres service throw an error when restarted.

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