Re: User specific log file in Postgres

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Daulat <daulat(dot)dba(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: User specific log file in Postgres
Date: 2021-11-23 12:49:06
Message-ID: 20211123124906.GA16514@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Nov 23, 2021 at 05:24:23PM +0530, Daulat wrote:
> Is it possible to set up individual logging files for specific users in
> Postgresql?

Technically yes. Practically - no.

You could redirect logs to syslog, and make syslog filter messages based
on user, but it's unlikely to work well.

Best regards,

depesz

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michel SALAIS 2021-11-23 12:52:37 RE: User specific log file in Postgres
Previous Message Daulat 2021-11-23 11:54:23 User specific log file in Postgres