Re: Not able to set pgaudit.log with pgaudit 1.3.2 in PostgreSQL 11.9

Поиск
Список
Период
Сортировка
От Dhinakaran R
Тема Re: Not able to set pgaudit.log with pgaudit 1.3.2 in PostgreSQL 11.9
Дата
Msg-id CANB3iMB6XxHW3z_-SjOX=XpNGGc8j3GGFRpDbyPqx0RYk_Qs=g@mail.gmail.com
обсуждение исходный текст
Ответ на RE: Not able to set pgaudit.log with pgaudit 1.3.2 in PostgreSQL 11.9  ("Brad Nicholson" <bradn@ca.ibm.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Building for 64-bit platform
Следующее
От: Susan Hurst
Дата:
Сообщение: Re: Foreign Data Wrapper Handler