Re: Logging RAISE statement to a logfile aside from syslog

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Ludwig Lim <lud_nowhere_man(at)yahoo(dot)com>
Cc: PostgreSQL Mailing List <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Logging RAISE statement to a logfile aside from syslog
Date: 2002-11-05 16:34:07
Message-ID: 1036514047.4558.75.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Robert Treat 2002-11-05 16:38:41 Re: Fw: joins
Previous Message geek24@avantel.net 2002-11-05 15:43:01 Re: About lower and uppercase