Re: Win32 eventlog level fix

Lists: pgsql-patches
From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Win32 eventlog level fix
Date: 2005-07-28 20:26:31
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE09462D@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

This patch fixes the event type used to log output from the
stderr-in-service or output-from-syslogger-in-service code. Previously
everything was flagged as ERRORs there, which caused all instances to
log "LOG: logger shutting down" as error...

Please apply for 8.1. I'd also like it considered for 8.0 since logging
non-errors as errors can be cause for alarm amongst people who actually
look at their logs...

//Magnus

Attachment Content-Type Size
win32_eventlog_redirect.patch application/octet-stream 2.8 KB

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Win32 eventlog level fix
Date: 2005-08-12 21:37:06
Message-ID: 200508122137.j7CLb6020006@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches


Patch applied. Thanks.

Backpatched to 8.0.X.

---------------------------------------------------------------------------

Magnus Hagander wrote:
> This patch fixes the event type used to log output from the
> stderr-in-service or output-from-syslogger-in-service code. Previously
> everything was flagged as ERRORs there, which caused all instances to
> log "LOG: logger shutting down" as error...
>
> Please apply for 8.1. I'd also like it considered for 8.0 since logging
> non-errors as errors can be cause for alarm amongst people who actually
> look at their logs...
>
> //Magnus

Content-Description: win32_eventlog_redirect.patch

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073