Summary:
Postgres has built in log rotation, so that is enabled now.
Prometheus was a larger challenge - it does not have built-in log
rotation. Instead, We integrated with logrotate that will run on our own
timer as yb-logrotate, with its own config file and logrotate.d files.
Currently, only prometheus will leverage this, but others can be added
as needed.
Test Plan:
install
install without data
upgrade
Reviewers: muthu
Reviewed By: muthu
Differential Revision: https://phorge.dev.yugabyte.com/D45030