Re: Why does log_error_verbosity not apply to server logs?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeremy Finzel <finzelj(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why does log_error_verbosity not apply to server logs?
Date: 2019-04-22 21:26:08
Message-ID: 27502.1555968368@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeremy Finzel <finzelj(at)gmail(dot)com> writes:
> On Mon, Apr 22, 2019 at 3:47 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Sure sounds to me like what you are setting is something client-side,
>> not the server's log verbosity. It works for me:

> I am running it differently - explicitly raising a LOG level message, not
> an ERROR. The line of interest is the following:

My question was about how you (think you are) setting log_error_verbosity,
not what you're doing to produce the message. The decisions in elog.c
about which fields to print in the server log do not depend on the latter.

However... looking again at what elog.c does, I'm prompted to ask whether
you're using plain or CSV log output. The CSV log format doesn't
consider log_error_verbosity when deciding whether to output this field.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lewis Shobbrook 2019-04-23 01:51:07 pgdg packages removed for 9.3
Previous Message Adrian Klaver 2019-04-22 21:18:01 Re: Why does log_error_verbosity not apply to server logs?