Add transaction logging to home DB

This commit is contained in:
Salt 2021-11-21 19:57:33 -06:00
parent 1c4bf65db4
commit decd4b452b

View File

@ -13,6 +13,16 @@
postgresql_global_config_options:
- option: listen_addresses
value: "*"
# All of these options are just for debugging stuff
# This IS a lab environment after all
- option: log_directory
value: "pg_log"
- option: log_filename
value: "postgresql-%Y-%m-%d_%H%M%S.log"
- option: log_statement
value: all
- option: logging_collector
value: "on"
postgresql_hba_entries:
- { type: local, database: all, user: postgres, auth_method: peer }
- { type: local, database: all, user: all, auth_method: md5 }