Is there a way to disable the logging of the parameter values used in a query, while still logging the actual query itself?
I'd like to set
log_min_duration_statement = 0 to use with pgBadger. I'm getting two lines per query like:
LOG: Select * from table where id = $1
DETAIL: parameters: $1 = 55
I'd really like to suppress the
DETAIL lines because it's bloating my logs and saving sensitive information.
Is it possible to disable this from within Postgres?