Top
Enterprise Postgres 16 Security Operation Guide

6.8.1 Configuring Audit Log Retrieval

The failover feature accesses the database periodically to check the instance status. Due to this, audit logs are also periodically retrieved, so log files become depleted. Therefore, set the parameters below so that audit logs are not retrieved.

postgresql.conf
log_connections

Omit, or specify "off".

log_disconnections

Omit, or specify "off".

pgaudit configuration file
rule section database

Specify database != 'template1'.