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

2015-09-14 Thread Egon Kocjan

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-memc0qqruwc3ecotgqpmtskfsvbm6gdb...@mail.gmail.com

Best regards
Egon Kocjan




20150914_pgctl_winlogoutput.patch
Description: binary/octet-stream

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


Re: [HACKERS] [PATCH] add --log-output to pg_ctl on Windows

2015-09-14 Thread Michael Paquier
On Mon, Sep 14, 2015 at 7:42 PM, Egon Kocjan  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:
> http://www.postgresql.org/message-id/cab7npqq+cybqd8-memc0qqruwc3ecotgqpmtskfsvbm6gdb...@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