Re: Setting log_connection in connection string doesn't work

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Setting log_connection in connection string doesn't work
Date: 2021-10-26 13:39:12
Message-ID: 80426.1635255552@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> writes:
> I noticed that the following command doesn't leave connection log in
> log file.
>> psql "host=localhost options=-c\ log_connections=on"

[ shrug... ] Why would you expect it to? Should "-c log_connections=off"
be able to hide a connection from the log?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Wanner 2021-10-26 14:02:22 Re: pgsql: Remove unused wait events.
Previous Message Shruthi Gowda 2021-10-26 13:24:54 Re: preserving db/ts/relfilenode OIDs across pg_upgrade (was Re: storing an explicit nonce)