diff --git a/templates/patroni.yml.j2 b/templates/patroni.yml.j2 index ccac3ee1e..5de8ef6b3 100644 --- a/templates/patroni.yml.j2 +++ b/templates/patroni.yml.j2 @@ -16,18 +16,25 @@ bootstrap: {%- endif %} archive_mode: on autovacuum: true + debug_print_plan: 'off' + debug_print_parse: 'off' + debug_print_rewritten: 'off' fsync: true full_page_writes: true lc_messages: 'en_US.UTF8' log_autovacuum_min_duration: 60000 log_checkpoints: 'on' + log_connections: 'on' log_destination: 'stderr' log_directory: '/var/log/postgresql' + log_disconnections: 'on' + log_error_verbosity: 'verbose' log_file_mode: '0600' log_filename: 'postgresql-%w_%H%M.log' log_hostname: 'off' log_line_prefix: '%t [%p]: user=%u,db=%d,app=%a,client=%h,line=%l ' log_min_duration_sample: -1 + log_min_error_statement: 'warning' log_recovery_conflict_waits: 'on' log_replication_commands: 'on' log_rotation_age: 1