From: Chris Gamache <cgg007@yahoo.com>
To: Darren Ferguson <darren@crystalballinc.com>
To: Neil Conway <nconway@klamath.dyndns.org>
Cc: pgsql-general@postgresql.org
Subject: Re: "ERROR:" Messages
Date: Tue, 11 Jun 2002 14:27:52 -0700 (PDT)
Message-ID: <20020611212752.70848.qmail@web13801.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10206111100570.11063-100000@thread.crystalballinc.com>
The solution is not as sexy as the one I was hoping for... :) I'm not one to
look a gift-horse in the mouth. Thank you for your responses, which were right
on target. I imagine I can combine the debug_print_query with the logging to a
postgres.log and just do a
tail -f postgres.log | grep -B1 ERROR:
and see where I'm going wrong!
CG
--- Darren Ferguson <darren@crystalballinc.com> wrote:
> Redirect the output to a logfile of your choice. There was a huge talk
> about this yesterday on the list.
>
> #!/bin/bash
> HOME=/usr/local/pgsql
> LOG=$HOME/logs/postgres.log
> USER=darren
>
> ulimit -SHc unlimited
> su $USER -c "nohup $HOME/bin/postmaster -D $HOME/db $@ >$LOG 2>&1
> </dev/null&"
>
> This script above is what i use to start the postmaster and as you can see
> i redirect the output to the file postgres.log. There are also different
> logging levels in the postgres.conf file that you can turn on.
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: cgg007@yahoo.com, darren@crystalballinc.com, nconway@klamath.dyndns.org, pgsql-general@postgresql.org
Subject: Re: "ERROR:" Messages
In-Reply-To: <20020611212752.70848.qmail@web13801.mail.yahoo.com>
References: <Pine.LNX.4.10.10206111100570.11063-100000@thread.crystalballinc.com> <20020611212752.70848.qmail@web13801.mail.yahoo.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