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

Don Seiler <don@seiler.us>

From: Don Seiler <don@seiler.us>
To: Gilles Darold <gilles.darold@dalibo.com>
Cc: Stephen Frost <sfrost@snowman.net>, pgsql-hackers@lists.postgresql.org
Date: 2018-06-25T19:57:08Z
Lists: 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

Commits

  1. Add application_name to connection authorized msg