Advice on logging strategy - Mailing list pgsql-general

From Mike Martin
Subject Advice on logging strategy
Date
Msg-id CAOwYNKZEM0JjpJAXiPowLhqtVEpXLbYKqmk_sR6Ee=nvitT4+g@mail.gmail.com
Whole thread Raw
Responses Re: Advice on logging strategy  (Rob Sargent <robjsargent@gmail.com>)
Re: Advice on logging strategy  (Jeff Janes <jeff.janes@gmail.com>)
Re: Advice on logging strategy  (David Steele <david@pgmasters.net>)
List pgsql-general
I have a question on logging strategy

I have loggin set to
log_statement = 'all' on a network database with logging set to csv so I can import it to a logging table

However the database is populated via a nightly routine downloading data via REST APIusing prepared statements

This results in enormous log files which take ages to import using copy becuase each execute statement is logged with the parameters chosen

Is there any way around this?

I cant find any way to filter dml statements

thanks

pgsql-general by date:

Previous
From: magodo
Date:
Subject: parallel PITR for HA setup
Next
From: Rob Sargent
Date:
Subject: Re: Advice on logging strategy