Re: How to specify a log file when running

From: Mark Kirkwood <markir(at)coretech(dot)co(dot)nz>
To: Steve McWilliams <smcwilliams(at)EmprisaNetworks(dot)com>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: How to specify a log file when running
Date: 2004-12-11 02:30:43
Message-ID: 41BA5BD3.4000605@coretech.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

I think the following postgresql.conf settings are what you want:

redirect_stderr = true
log_directory, log_filename....

regards

Mark

Steve McWilliams wrote:

>Hello,
>
>I am running Postgresql-8.0.0beta4 and would like to know if there is any
>recommended way of specifying a log file for postmaster output when
>running pg_ctl.exe as a service? The "-l" option does not seem to work.
>
>Thanks in advance.
>
>Steve McWilliams
>
>

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Christophe CADIC 2004-12-11 10:28:34 Run PostgreSQL Service after Register
Previous Message Thomas Kellerer 2004-12-10 22:35:39 Re: RC1 MSI Installer