Make PostgreSQL log settings configurable
PostgreSQL supports CSV logging out of the box, and we should enabled this form of structured logging to make it easier to parse and ingest these logs into our Elasticsearch cluster. This came out of an investigation in https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/9254 and pertains to https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/4973.
Showing
- changelogs/unreleased/sh-postgresql-log-config.yml 5 additions, 0 deletionschangelogs/unreleased/sh-postgresql-log-config.yml
- doc/settings/logs.md 12 additions, 0 deletionsdoc/settings/logs.md
- files/gitlab-config-template/gitlab.rb.template 5 additions, 0 deletionsfiles/gitlab-config-template/gitlab.rb.template
- files/gitlab-cookbooks/postgresql/attributes/default.rb 8 additions, 1 deletionfiles/gitlab-cookbooks/postgresql/attributes/default.rb
- files/gitlab-cookbooks/postgresql/templates/default/postgresql.conf.erb 25 additions, 1 deletion...ookbooks/postgresql/templates/default/postgresql.conf.erb
- spec/chef/recipes/postgresql_spec.rb 37 additions, 0 deletionsspec/chef/recipes/postgresql_spec.rb
Loading
Please register or sign in to comment