Re: How can one prevent logging to the Windows event log? - Mailing list pgsql-admin

From raghu ram
Subject Re: How can one prevent logging to the Windows event log?
Date
Msg-id CALnrrJRxN4TEjORfDCmE0=ZvsiECQHowmpOnqKW1Frz0PELoyg@mail.gmail.com
Whole thread Raw
In response to How can one prevent logging to the Windows event log?  (David Schnur <dnschnur@gmail.com>)
Responses Re: How can one prevent logging to the Windows event log?  (David Schnur <dnschnur@gmail.com>)
List pgsql-admin


On Fri, Dec 30, 2011 at 2:10 AM, David Schnur <dnschnur@gmail.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

pgsql-admin by date:

Previous
From: David Schnur
Date:
Subject: How can one prevent logging to the Windows event log?
Next
From: David Schnur
Date:
Subject: Re: How can one prevent logging to the Windows event log?