Re: Is there a way to log only a particular user connection attempts in Postgres?

From: Michael Banck <mbanck(at)gmx(dot)net>
To: Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com>
Cc: pavan95 <pavan(dot)postgresdba(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Is there a way to log only a particular user connection attempts in Postgres?
Date: 2019-03-24 11:26:53
Message-ID: 20190324112653.GA27613@nighthawk.caipicrew.dd-dns.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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-activity-of-postgresql

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

Michael

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mark Steben 2019-03-25 17:50:42 Monitoring hot standby replication for failure
Previous Message Bob Fogg 2019-03-22 19:30:47 pgAdmin 4.3 Failure to Export as CSV on Mac