Postgres 9.0 Hiding CONTEXT string in Logs

Started by Alex -over 15 years ago3 messagesgeneral
Jump to latest
#1Alex -
aintokyo@hotmail.com

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?

Thanks
Alex

#2Alex -
aintokyo@hotmail.com
In reply to: Alex - (#1)
Re: Postgres 9.0 Hiding CONTEXT string in Logs

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?

Thanks
Alex

#3Merlin Moncure
mmoncure@gmail.com
In reply to: Alex - (#2)
Re: Postgres 9.0 Hiding CONTEXT string in Logs

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