pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Banck <mbanck@gmx.net>
To: Shreeyansh Dba <shreeyansh2014@gmail.com>
Cc: pavan95 <pavan.postgresdba@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Is there a way to log only a particular user connection attempts in Postgres?
Date: Sun, 24 Mar 2019 12:26:53 +0100
Message-ID: <20190324112653.GA27613@nighthawk.caipicrew.dd-dns.de> (raw)
In-Reply-To: <CAGDYbUNn4Sgbew3bBVCDvcwSisNHO8Bk=tLT-Zy8mXy7qC0WaA@mail.gmail.com>
References: <1553228652335-0.post@n3.nabble.com>
	<CAGDYbUNn4Sgbew3bBVCDvcwSisNHO8Bk=tLT-Zy8mXy7qC0WaA@mail.gmail.com>

Hi,

On Fri, Mar 22, 2019 at 02:21:33PM +0530, Shreeyansh Dba wrote:
> Go through the below link hope this will help you.
> https://dba.stackexchange.com/questions/118018/is-it-possible-to-exclude-specific-users-in-log-activ...

That qustion/answer is about exluding general log messages for some
user, not excluding connection (attempts)/disconnections for some user.


Michael




view thread (6+ messages)

Message-ID: <20190324112653.GA27613@nighthawk.caipicrew.dd-dns.de>
Permalink:  ../20190324112653.GA27613@nighthawk.caipicrew.dd-dns.de/
Also on:    postgresql.org/message-id/20190324112653.GA27613@nighthawk.caipicrew.dd-dns.de

 · 

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-admin@postgresql.org
  Cc: mbanck@gmx.net, shreeyansh2014@gmail.com, pavan.postgresdba@gmail.com
  Subject: Re: Is there a way to log only a particular user connection attempts in Postgres?
  In-Reply-To: <20190324112653.GA27613@nighthawk.caipicrew.dd-dns.de>

* 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