Re: Why does log_error_verbosity not apply to server logs?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why does log_error_verbosity not apply to server logs?
Дата
Msg-id 27502.1555968368@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why does log_error_verbosity not apply to server logs?  (Jeremy Finzel <finzelj@gmail.com>)
Ответы Re: Why does log_error_verbosity not apply to server logs?  (Jeremy Finzel <finzelj@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Why does log_error_verbosity not apply to server logs?
Следующее
От: Lewis Shobbrook
Дата:
Сообщение: pgdg packages removed for 9.3