pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeremy Finzel <finzelj@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: Why does log_error_verbosity not apply to server logs?
Date: Mon, 22 Apr 2019 17:26:08 -0400
Message-ID: <27502.1555968368@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMa1XUhQdvWHz2nmVMi+U-yhjxORRhbxWZLwf3hSW7zWpvFdcQ@mail.gmail.com>
References: <CAMa1XUjm5o7xUDqmVps-s35xQRBuLYU8eX7boFSZa+7bsgJwCA@mail.gmail.com>
	<26062.1555966040@sss.pgh.pa.us>
	<CAMa1XUhQdvWHz2nmVMi+U-yhjxORRhbxWZLwf3hSW7zWpvFdcQ@mail.gmail.com>

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





view thread (7+ messages)  latest in thread

Message-ID: <27502.1555968368@sss.pgh.pa.us>
Permalink:  ../27502.1555968368@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27502.1555968368@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, finzelj@gmail.com
  Subject: Re: Why does log_error_verbosity not apply to server logs?
  In-Reply-To: <27502.1555968368@sss.pgh.pa.us>
  References: <CAMa1XUjm5o7xUDqmVps-s35xQRBuLYU8eX7boFSZa+7bsgJwCA@mail.gmail.com> <26062.1555966040@sss.pgh.pa.us> <CAMa1XUhQdvWHz2nmVMi+U-yhjxORRhbxWZLwf3hSW7zWpvFdcQ@mail.gmail.com> <27502.1555968368@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox