From: Robert Treat <xzilla@users.sourceforge.net>
To: Ludwig Lim <lud_nowhere_man@yahoo.com>
Cc: PostgreSQL Mailing List <pgsql-admin@postgresql.org>
Subject: Re: Logging RAISE statement to a logfile aside from syslog
Date: 05 Nov 2002 11:34:07 -0500
Message-ID: <1036514047.4558.75.camel@camel> (raw)
In-Reply-To: <20021104062930.80372.qmail@web80309.mail.yahoo.com>
References: <20021104062930.80372.qmail@web80309.mail.yahoo.com>
On Mon, 2002-11-04 at 01:29, Ludwig Lim wrote:
> Hi:
>
> Is there a way of logging the RAISE statements in a
> plpgsql function to a logfile (aside from syslog)? I
> noticed that all RAISE statments are only logged in
> the syslog.
>
I dont think there is any way to get just the RAISE statements to log
somewhere else (short of hacking the db code), though you could generate
a file with that information easily with grep.
Robert Treat
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: xzilla@users.sourceforge.net, lud_nowhere_man@yahoo.com
Subject: Re: Logging RAISE statement to a logfile aside from syslog
In-Reply-To: <1036514047.4558.75.camel@camel>
References: <20021104062930.80372.qmail@web80309.mail.yahoo.com> <1036514047.4558.75.camel@camel>
* 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