From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Mary Johnson <mary.johnson1812@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: what to log in csvlogs
Date: Sun, 10 May 2020 12:15:54 -0700
Message-ID: <db0bdd96-39f7-9eb8-15f8-bfe0dfa38b52@aklaver.com> (raw)
In-Reply-To: <CAHAK_mb1tCv2TK7ERVutgwANwb6h2ky+bRcMqwQ-Zn1zGqH93A@mail.gmail.com>
References: <CAHAK_mb1tCv2TK7ERVutgwANwb6h2ky+bRcMqwQ-Zn1zGqH93A@mail.gmail.com>
On 5/10/20 11:27 AM, Mary Johnson wrote:
> Hi,
>
> Can you please let me know if we can control what to log when log
> destination is 'csvlog'?
No, it is set to the fields described here:
https://www.postgresql.org/docs/12/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-CSVLOG
What is in those fields is determined by the settings mentioned in the
link above.
> Also, can we control when to log to display only select queries of a few
> specific tables?
Not with the built in logger.
Other folks maybe able to point you at third party software that can do
this.
>
> Thanks,
> mary
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, mary.johnson1812@gmail.com
Subject: Re: what to log in csvlogs
In-Reply-To: <db0bdd96-39f7-9eb8-15f8-bfe0dfa38b52@aklaver.com>
References: <CAHAK_mb1tCv2TK7ERVutgwANwb6h2ky+bRcMqwQ-Zn1zGqH93A@mail.gmail.com> <db0bdd96-39f7-9eb8-15f8-bfe0dfa38b52@aklaver.com>
* 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