Re: Why does log_error_verbosity not apply to server logs?

From: Jeremy Finzel <finzelj(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why does log_error_verbosity not apply to server logs?
Date: 2019-04-23 13:20:18
Message-ID: CAMa1XUj90PJ3v-k_VZMgKNF6df3Fmw415C-92XTyokFJ-_FMCQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> 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.
>

Roger that.

> 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.
>

Yup, we are using CSV log format. So in that case, is there no way around
the context messages if I still want the log message?

Thanks,
Jeremy

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Devoy 2019-04-23 13:28:15 Re: Primary key data type: integer vs identity
Previous Message Adrian Klaver 2019-04-23 13:11:47 Re: pgdg packages removed for 9.3