Re: How can one prevent logging to the Windows event log?

From: raghu ram <raghuchennuru(at)gmail(dot)com>
To: David Schnur <dnschnur(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How can one prevent logging to the Windows event log?
Date: 2011-12-30 15:46:39
Message-ID: CALnrrJRxN4TEjORfDCmE0=ZvsiECQHowmpOnqKW1Frz0PELoyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Dec 30, 2011 at 2:10 AM, David Schnur <dnschnur(at)gmail(dot)com> wrote:

> I have log_destination = 'stderr', but Postgres (8.3.15) writes messages
> to the Windows event log. How can I prevent it from doing this? Any
> insight into this behavior would be greatly appreciated. Thanks!
>

Modify below parameters in Postgresql.conf file :

log_destination = 'stderr'
logging_collector = on

And RESTART PostgreSQL cluster to apply these changes.

pg_ctl -D <Data directory Path> stop -m f

pg_ctl -D <Data directory Path> start

--Raghu

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David Schnur 2011-12-30 17:28:05 Re: How can one prevent logging to the Windows event log?
Previous Message David Schnur 2011-12-29 20:40:49 How can one prevent logging to the Windows event log?