pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michel SALAIS <msalais@msym.fr>
To: 'Daulat' <daulat.dba@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: RE: User specific log file in Postgres
Date: Tue, 23 Nov 2021 13:52:37 +0100
Message-ID: <00c801d7e068$fe3892a0$faa9b7e0$@msym.fr> (raw)
In-Reply-To: <CALfOM6+ihb-9+GksnBFq93KxAYp3TJkaUkcvPLFbO5xDwj7_CQ@mail.gmail.com>
References: <CALfOM6+ihb-9+GksnBFq93KxAYp3TJkaUkcvPLFbO5xDwj7_CQ@mail.gmail.com>

Hi,

 

If you mean the “standard” logging system for PostgreSQL the reply is No. Parameter “log_filename” is of context “sighup” and can’t be modified by session…

 

Michel SALAIS

Consultant Oracle, PostgreSQL

MSYM

23 rue du Départ

Boîte 37

75014 Paris

 

+33 6 68 94 19 60

 <mailto:msalais@msym.fr> msalais@msym.fr

 <http://www.msym.fr/; www.msym.fr

 

De : Daulat <daulat.dba@gmail.com> 
Envoyé : mardi 23 novembre 2021 12:54
À : pgsql-admin@lists.postgresql.org
Objet : User specific log file in Postgres

 

Hello Team,

 

Is it possible to set up individual logging files for specific users in Postgresql?

 

Please suggest !

 

Thanks

 

view thread (5+ messages)  latest in thread

Message-ID: <00c801d7e068$fe3892a0$faa9b7e0$@msym.fr>
Permalink:  ../00c801d7e068$fe3892a0$faa9b7e0$@msym.fr/
Also on:    postgresql.org/message-id/00c801d7e068$fe3892a0$faa9b7e0$@msym.fr

 · 

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: msalais@msym.fr, daulat.dba@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: RE: User specific log file in Postgres
  In-Reply-To: <00c801d7e068$fe3892a0$faa9b7e0$@msym.fr>

* 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