Re: logging to a file - Mailing list pgsql-general

From Jim Caley
Subject Re: logging to a file
Date
Msg-id 3D050979.4000106@chesco.com
Whole thread Raw
In response to logging to a file  (Vincent Stoessel <vincent@xaymaca.com>)
List pgsql-general
Vincent,

With postmaster you can use redirection (">logfile 2>&1").  With pg_ctl you can
either do that or use the -l option to specify a log file.

Regards,
Jim
--

Vincent Stoessel wrote:
> OK, I'm sorry but I have been looking through
> the docs and can some tell me how I can specify
> a log file to capture my postgres debug messages?
> Don't want to use syslog.
> Thanks in advance.



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Checking that Pg is running from a shell script
Next
From: Ericson Smith
Date:
Subject: Re: Checking that Pg is running from a shell script