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

From: Don Seiler <don(at)seiler(dot)us>
To: Gilles Darold <gilles(dot)darold(at)dalibo(dot)com>
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 19:57:08
Message-ID: CAHJZqBAEO57sZeJ=ZfMJ_FX9PqAv1nMTLY+yP4e8t0g5BtuoBA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 25, 2018 at 10:50 AM, Gilles Darold <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?

Don.

--
Don Seiler
www.seiler.us

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2018-06-25 20:32:05 Re: [PATCH] Include application_name in "connection authorized" log message
Previous Message Vik Fearing 2018-06-25 19:25:43 Re: Constraint documentation