From: Victor Rosenberg <victor.rosenberg@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Changing logging options for PostgreSQL service on windows
Date: Tue, 27 Nov 2012 07:34:25 -0800 (PST)
Message-ID: <7ea55cfb-23e9-4cf1-8374-d164d15d8654@googlegroups.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Hi all.
I need an alternative for running the following command:
"C:\xxx\pgsql\bin\pg_ctl" -D "C:\xxx\pgsql\data" -l "C:\yyy\log\pgsql.log" start
This way the server starts and logs to C:\yyy\log\pgsql.log.
When I try to register the server as a service though - no logging options are available and the server logs to Event Viewer.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: victor.rosenberg@gmail.com
Subject: Re: Changing logging options for PostgreSQL service on windows
In-Reply-To: <7ea55cfb-23e9-4cf1-8374-d164d15d8654@googlegroups.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox