log to file

This commit is contained in:
red 2025-07-06 19:02:49 -04:00
parent 92f46ec75b
commit 2b2ac44019

View file

@ -78,10 +78,10 @@ data:
max_prepared_transactions = 0
# log settings
# log_destination = 'stderr'
# logging_collector = on
# log_directory = 'pg_log'
# log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
# log_min_duration_statement = 1000
# log_lock_waits = on
# log_checkpoints = on
log_destination = 'stderr'
logging_collector = on
log_directory = 'pg_log'
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
log_min_duration_statement = 1000
log_lock_waits = on
log_checkpoints = on