Re: Postgres 9.0 Hiding CONTEXT string in Logs

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Alex - <aintokyo(at)hotmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres 9.0 Hiding CONTEXT string in Logs
Date: 2010-12-20 17:20:35
Message-ID: AANLkTik24qopx4sg7upPDYZC4MiGz3tnnRqf+WtkYVJe@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Dec 20, 2010 at 10:04 AM, Alex - <aintokyo(at)hotmail(dot)com> wrote:
> No reply... I guess its not possible then to switch that off.
>
>
> Hi,
> I occasionally output information from my PL/Perl functions to show a
> progres or a debug info like this
>
> elog(NOTICE, "Table some_table analyzed");
>
> which generated the
>
> NOTICE:  Table some_table analyzed
>
> however since upgrading to version 9.0 I also get this annoying string
>
> CONTEXT:  PL/Perl function "func_some_fun"
>
> Is there any way to suppress this as I don't really need it?

see: log_error_verbosity
http://www.postgresql.org/docs/current/static/runtime-config-logging.html

merlin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-12-20 17:48:04 Re: libpq ASYNC with PQgetResult and PQisBusy
Previous Message Adrian Klaver 2010-12-20 17:16:50 Re: Role Membership