[PATCH] add --log-output to pg_ctl on Windows

Started by Egon Kocjanover 10 years ago2 messageshackers
Jump to latest
#1Egon Kocjan
ekocjan@gmail.com

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:
/messages/by-id/CAB7nPqQ+CybqD8-MemC0qQrUwC3eCOTGqpmTSKfSvBm6GdBsjg@mail.gmail.com

Best regards
Egon Kocjan

Attachments:

20150914_pgctl_winlogoutput.patchbinary/octet-stream; name=20150914_pgctl_winlogoutput.patchDownload+48-4
#2Michael Paquier
michael@paquier.xyz
In reply to: Egon Kocjan (#1)
Re: [PATCH] add --log-output to pg_ctl on Windows

On Mon, Sep 14, 2015 at 7:42 PM, Egon Kocjan <ekocjan@gmail.com> wrote:

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:
/messages/by-id/CAB7nPqQ+CybqD8-MemC0qQrUwC3eCOTGqpmTSKfSvBm6GdBsjg@mail.gmail.com

Thanks for picking this up!

Documentation is missing. Adding this patch to the next commit fest of
November would be good as well:
https://commitfest.postgresql.org/7/
Feel free to assign me as a reviewer at the same time.
Regards,
--
Michael

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