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