Hello
The patch implements a command line option for pg_ctl on Windows to
redirect logging of errors (write_stderr). The possible outputs are:
default (eventlog if running as a service, otherwise stderr), stderr or
eventlog.
The previous discussion in BUG #13594:
http://www.postgresql.org/message-id/CAB7nPqQ+CybqD8-MemC0qQrUwC3eCOTGqpmTSKfSvBm6GdBsjg@mail.gmail.com
Best regards
Egon Kocjan