Re: Not able to set pgaudit.log with pgaudit 1.3.2 in PostgreSQL 11.9 - Mailing list pgsql-general

From Dhinakaran R
Subject Re: Not able to set pgaudit.log with pgaudit 1.3.2 in PostgreSQL 11.9
Date
Msg-id CANB3iMB6XxHW3z_-SjOX=XpNGGc8j3GGFRpDbyPqx0RYk_Qs=g@mail.gmail.com
Whole thread Raw
In response to RE: Not able to set pgaudit.log with pgaudit 1.3.2 in PostgreSQL 11.9  ("Brad Nicholson" <bradn@ca.ibm.com>)
List pgsql-general
Hi Brad

Thank you for pointing this out, my bad I was looking at the wrong version readme file.  It's working after removing misc_set.

On Sun, 8 Nov 2020 at 01:38, Brad Nicholson <bradn@ca.ibm.com> wrote:

Dhinakaran R <dhiraam.postgresql@gmail.com> wrote on 2020/11/07 02:03:22 PM:


> > I had installed PostgreSQL 11.9 and pgaudit 1.3.2.  updated
> > shared_preload_libraries, restarted PostgreSQL, created an extension for
> > pgaudit and set parameters for pgaudit in postgresql.conf.  But
> > surprisingly pgaudit.log is not getting picked up and neither able to
> > set it manually.


> > pgaudit.log = 'write, role, ddl, misc_set'

misc_set was added in pgAudit 1.4, if you remove that it will likely work.

pgAudit should probably log when it has an invalid parameter.

Brad.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Building for 64-bit platform
Next
From: Susan Hurst
Date:
Subject: Re: Foreign Data Wrapper Handler