log to file
This commit is contained in:
parent
92f46ec75b
commit
2b2ac44019
1 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue