Description of problem: Currently gluster logs are rotated every week and stored for 52 weeks - the minimum storage capacity requirement for /var/log is high with these default settings Can we change this to rotate based on size and keep "x" number of history logs per log? Version-Release number of selected component (if applicable): How reproducible: NA Additional info: the 50-100GB requirement for /var/log is very heavy for deployments like RHHI.
upstream patch: https://review.gluster.org/21187 This can be fixed as a separate 'installation' patch in RHHI.. or as a Batch Update, if critical. Unless marked blocker, this may not make it to downstream yet.
*** Bug 1466455 has been marked as a duplicate of this bug. ***
Updated the doc text. kindly review for technical Accuracy.
What is the version of "logrotate --version"
Also note that, the execution of logrotate is as per crontab or other setup, and it should be invoked by a setup. I suspect because of the option 'weekly', it is setup to check once in a week. We need to see if adding logrotate script to hourly makes any difference.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3827