Privacy Policy
Snippets index

  Log all Postgresql queries

file "postgresql.conf":

#
# Log all queries
#

log_directory = 'pg_log'
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
log_statement = 'all'
logging_collector = on