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

From: Gilles Darold <gilles(dot)darold(at)dalibo(dot)com>
To: Don Seiler <don(at)seiler(dot)us>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Include application_name in "connection authorized" log message
Date: 2018-06-25 20:56:10
Message-ID: 34ab4990-5b55-ad2e-617f-9b64c3ab0220@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Le 25/06/2018 à 21:57, Don Seiler a écrit :
> On Mon, Jun 25, 2018 at 10:50 AM, Gilles Darold
> <gilles(dot)darold(at)dalibo(dot)com <mailto:gilles(dot)darold(at)dalibo(dot)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?

Yes please send a new patch this will be easiest to manage with a single
patch. I will give it a new test and change the status to "ready for
committer". I will also prepare a patch to pgbadger to support the change.

Best regards,

--
Gilles Darold
Consultant PostgreSQL
http://dalibo.com - http://dalibo.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gilles Darold 2018-06-25 21:01:47 Re: [PATCH] Include application_name in "connection authorized" log message
Previous Message Stephen Frost 2018-06-25 20:32:05 Re: [PATCH] Include application_name in "connection authorized" log message