I think it may be worth our while to examine the log rotate template and see what we can do to ensure we have a proper setup [0]. Maybe the right answer is to update the template to add options with a lower defaults which expose some additional capabilities. In that way a deployer could customize how log rotate works on a per node/deployment basis which would allow for minimal retention in the service container/node and longer retention on the log storage node.
I think it may be worth our while to examine the log rotate template and see what we can do to ensure we have a proper setup [0]. Maybe the right answer is to update the template to add options with a lower defaults which expose some additional capabilities. In that way a deployer could customize how log rotate works on a per node/deployment basis which would allow for minimal retention in the service container/node and longer retention on the log storage node.
[0] - https:/ /github. com/openstack/ openstack- ansible- rsyslog_ client/ blob/master/ templates/ os_aggregate_ storage. j2