pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Setting log_connection in connection string doesn't work
Date: Tue, 26 Oct 2021 09:39:12 -0400
Message-ID: <80426.1635255552@sss.pgh.pa.us> (raw)
In-Reply-To: <20211026.173350.2163793213857103911.horikyota.ntt@gmail.com>
References: <20211026.173350.2163793213857103911.horikyota.ntt@gmail.com>

Kyotaro Horiguchi <horikyota.ntt@gmail.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





view thread (8+ messages)  latest in thread

Message-ID: <80426.1635255552@sss.pgh.pa.us>
Permalink:  ../80426.1635255552@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/80426.1635255552@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, horikyota.ntt@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Setting log_connection in connection string doesn't work
  In-Reply-To: <80426.1635255552@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox