From: Niels Jespersen <NJN@dst.dk>
To: Mary Johnson <mary.johnson1812@gmail.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: SV: what to log in csvlogs
Date: Mon, 11 May 2020 05:15:52 +0000
Message-ID: <898df31d01864224a1be189665fb12cf@dst.dk> (raw)
In-Reply-To: <CAHAK_mb1tCv2TK7ERVutgwANwb6h2ky+bRcMqwQ-Zn1zGqH93A@mail.gmail.com>
References: <CAHAK_mb1tCv2TK7ERVutgwANwb6h2ky+bRcMqwQ-Zn1zGqH93A@mail.gmail.com>
Fra: Mary Johnson <mary.johnson1812@gmail.com>
Sendt: 10. maj 2020 20:27
Til: pgsql-general@postgresql.org
Emne: what to log in csvlogs
Hi,
Can you please let me know if we can control what to log when log destination is 'csvlog'?
Also, can we control when to log to display only select queries of a few specific tables?
Thanks,
Mary
The Pgaudit extension will let you audit specific actions to specific tables.
Regard Niels Jespersen
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: NJN@dst.dk, mary.johnson1812@gmail.com
Subject: Re: what to log in csvlogs
In-Reply-To: <898df31d01864224a1be189665fb12cf@dst.dk>
References: <CAHAK_mb1tCv2TK7ERVutgwANwb6h2ky+bRcMqwQ-Zn1zGqH93A@mail.gmail.com> <898df31d01864224a1be189665fb12cf@dst.dk>
* 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