Actions
Bug #27846
closedby default 'log_min_duration = 1000' should be configured for PostgreSQL
Difficulty:
Triaged:
No
Bugzilla link:
Description
To gather more data when checking support cases, having 'log_min_duration = 1000' in PostgreSQL config by default would be great.
Expected results:
'log_min_duration = 500' should be in PostgreSQL config file on both freshly installed and upgraded Satellite:
- grep log_min_duration /var/lib/pgsql/data/postgresql.conf
Additional info:
Tuning profiles already have 'log_min_duration = 500'
https://github.com/RedHatSatellite/satellite-support/tree/master/tuning-profiles
Note this can be also achieved via /etc/foreman-installer/custom-hiera.yaml by:
postgresql::server::config_entries:
log_min_duration_statement: 1000
By including it as default, users can only disable it by setting the value to -1 in custom-hiera.yaml.
Actions