pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
what to log in csvlogs
2+ messages / 2 participants
[nested] [flat]

* what to log in csvlogs
@ 2020-05-10 18:27  Mary Johnson <mary.johnson1812@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Mary Johnson @ 2020-05-10 18:27 UTC (permalink / raw)
  To: pgsql-general

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: what to log in csvlogs
@ 2020-05-10 19:15  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Mary Johnson <mary.johnson1812@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Adrian Klaver @ 2020-05-10 19:15 UTC (permalink / raw)
  To: Mary Johnson <mary.johnson1812@gmail.com>; 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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-05-10 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-05-10 18:27 what to log in csvlogs Mary Johnson <mary.johnson1812@gmail.com>
2020-05-10 19:15 ` Adrian Klaver <adrian.klaver@aklaver.com>

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