Re: [PATCH] Include application_name in "connection authorized" log message

Поиск
Список
Период
Сортировка
От Don Seiler
Тема Re: [PATCH] Include application_name in "connection authorized" log message
Дата
Msg-id CAHJZqBAEO57sZeJ=ZfMJ_FX9PqAv1nMTLY+yP4e8t0g5BtuoBA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Include application_name in "connection authorized" logmessage  (Gilles Darold <gilles.darold@dalibo.com>)
Ответы Re: [PATCH] Include application_name in "connection authorized" log message  (Stephen Frost <sfrost@snowman.net>)
Re: [PATCH] Include application_name in "connection authorized" logmessage  (Gilles Darold <gilles.darold@dalibo.com>)
Список pgsql-hackers
On Mon, Jun 25, 2018 at 10:50 AM, Gilles Darold <gilles.darold@dalibo.com> wrote:
I would prefer the following output to conform to elog.c output:

    2018-06-25 17:32:46.854 CEST [23265] LOG:  connection authorized: user=postgres database=postgres application=[unknown]

Hello Gilles,

The different cases were for Stephen's request earlier in this thread. I'm happy to write it either way and agree it would be nice to not have a lot of duplicate code. Do you want me to submit another patch?

Don.

--
Don Seiler
www.seiler.us

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: Constraint documentation
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [PATCH] Include application_name in "connection authorized" log message