| From: | Daulat <daulat(dot)dba(at)gmail(dot)com> |
|---|---|
| To: | Holger Jakobs <holger(at)jakobs(dot)com> |
| Cc: | pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: How to Log DBA actions |
| Date: | 2021-12-20 06:54:14 |
| Message-ID: | CALfOM6KYD+Jc9eRdi18MU0yUpBBS5CgBvYjNJayz07+MBN0fcw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Thanks Holger !
It means, there is no use of pgaudit if we already have log_statements
enabled?
On Mon, Dec 20, 2021 at 12:13 PM Holger Jakobs <holger(at)jakobs(dot)com> wrote:
> There is a setting log_statements which can be set to none (the default),
> ddl, mod or all
>
> This might help.
>
> Am 20. Dezember 2021 07:34:13 MEZ schrieb Daulat <daulat(dot)dba(at)gmail(dot)com>:
>>
>> Hi Team,
>>
>> I want to log DBA actions in Postgres. Can you please suggest how I can
>> achieve it.
>> Will pg_audit and log_min_duration_statements help on it?
>>
>> Thanks,
>>
>>
>> --
> Holger Jakobs, Bergisch Gladbach
> +49 178 9759012
> - sent from mobile, therefore short -
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daulat | 2021-12-21 13:36:31 | Steps to enable SSL Enable |
| Previous Message | Holger Jakobs | 2021-12-20 06:43:45 | Re: How to Log DBA actions |