Some useful Postgres configuration changes for a dev machine:
log_connections = on
log_disconnections = on
log_statement = 'all'
Optionally, set log timestamps to local time
log_timezone = 'US/Central' # Or whatever your timezone is
Note: To find the config file on your machine:
psql -c "SHOW config_file;"
Thanks for sharing this!