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 max_prepared_transactions = 0
# log settings # log settings
# log_destination = 'stderr' log_destination = 'stderr'
# logging_collector = on logging_collector = on
# log_directory = 'pg_log' log_directory = 'pg_log'
# log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
# log_min_duration_statement = 1000 log_min_duration_statement = 1000
# log_lock_waits = on log_lock_waits = on
# log_checkpoints = on log_checkpoints = on