PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> # log_connections - application_name MIA
> [unknown] LOG: 00000: connection authorized: user=postgres
> database=postgres
This was changed about a year ago, see
https://www.postgresql.org/message-id/flat/CAHJZqBB_Pxv8HRfoh%2BAB4KxSQQuPVvtYCzMg7woNR3r7dfmopw%40mail.gmail.com
so v12 will do what you want.
regards, tom lane