Re: Why does log_error_verbosity not apply to server logs? - Mailing list pgsql-general

From Tom Lane
Subject Re: Why does log_error_verbosity not apply to server logs?
Date
Msg-id 27502.1555968368@sss.pgh.pa.us
Whole thread Raw
In response to Re: Why does log_error_verbosity not apply to server logs?  (Jeremy Finzel <finzelj@gmail.com>)
Responses Re: Why does log_error_verbosity not apply to server logs?  (Jeremy Finzel <finzelj@gmail.com>)
List pgsql-general
Jeremy Finzel <finzelj@gmail.com> writes:
> On Mon, Apr 22, 2019 at 3:47 PM Tom Lane <tgl@sss.pgh.pa.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



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Why does log_error_verbosity not apply to server logs?
Next
From: Lewis Shobbrook
Date:
Subject: pgdg packages removed for 9.3