Re: what to log in csvlogs - Mailing list pgsql-general

From Adrian Klaver
Subject Re: what to log in csvlogs
Date
Msg-id db0bdd96-39f7-9eb8-15f8-bfe0dfa38b52@aklaver.com
Whole thread Raw
In response to what to log in csvlogs  (Mary Johnson <mary.johnson1812@gmail.com>)
List pgsql-general
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



pgsql-general by date:

Previous
From: Mary Johnson
Date:
Subject: what to log in csvlogs
Next
From: Rory Campbell-Lange
Date:
Subject: Re: Best way to use trigger to email a report ?