-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include /etc/manageiq/postgresql.conf.d/ directory to log collection #18262
Include /etc/manageiq/postgresql.conf.d/ directory to log collection #18262
Conversation
Checked commits yrudman/manageiq@673faef~...92d7a0b with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@jrafanie could you review |
@@ -80,7 +80,7 @@ def pg_log_patterns | |||
return [] unless pg_data | |||
|
|||
pg_data = Pathname.new(pg_data) | |||
[pg_data.join("*.conf"), pg_data.join("pg_log/*")] | |||
[pg_data.join("*.conf"), pg_data.join("pg_log/*"), Pathname.new("/etc/manageiq/postgresql.conf.d/*")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is /etc/manageiq/postgresql.conf.d/
the same everywhere? If so, I'm good with this change. We might want to externalize this path as a contanst like we do with pg_data_dir
but if this is the only caller of it, it's fine to be like this for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, path is pre-defined and the same in different repos: https://github.com/ManageIQ/manageiq-appliance/tree/master/COPY/etc/manageiq/postgresql.conf.d ,
It will be the only caller in ManageIQ/manageiq
…nf_d-directory-to-log-collection Include /etc/manageiq/postgresql.conf.d/ directory to log collection (cherry picked from commit e91f6b8) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1672694
Hammer backport details:
|
Include
/etc/manageiq/postgresql.conf.d/*
to log collectionFixes https://bugzilla.redhat.com/show_bug.cgi?id=1652116
@miq-bot add-label bug, hammer/yes