Re: User specific log file in Postgres - Mailing list pgsql-admin

From hubert depesz lubaczewski
Subject Re: User specific log file in Postgres
Date
Msg-id 20211123124906.GA16514@depesz.com
Whole thread Raw
In response to User specific log file in Postgres  (Daulat <daulat.dba@gmail.com>)
List 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




pgsql-admin by date:

Previous
From: Daulat
Date:
Subject: User specific log file in Postgres
Next
From: "Michel SALAIS"
Date:
Subject: RE: User specific log file in Postgres