Re: Postgres 9.0 Hiding CONTEXT string in Logs - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Postgres 9.0 Hiding CONTEXT string in Logs
Date
Msg-id AANLkTik24qopx4sg7upPDYZC4MiGz3tnnRqf+WtkYVJe@mail.gmail.com
Whole thread Raw
In response to Re: Postgres 9.0 Hiding CONTEXT string in Logs  (Alex - <aintokyo@hotmail.com>)
List pgsql-general
On Mon, Dec 20, 2010 at 10:04 AM, Alex - <aintokyo@hotmail.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

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Role Membership
Next
From: Tom Lane
Date:
Subject: Re: libpq ASYNC with PQgetResult and PQisBusy