![]() - instead of rotating logs daily and weekly, run the script every 15 minutes - merge weekly and daily configuration files - rotate logs basing on two criteria: age (a week; only if file is bigger than 10M on master or 5MB on remote nodes) and size (rotate the file always if its size exceedes 100M on master or 20M on remote nodes, regardless its age) - use dateformat to make rotated logs' filenames more readable; as logrotate supports only year, month, day and unix epoch, use them all - fix a lot of lint complaints, including aligments, curly braces and proper quoting; give logrotate related files more intuitive names - dump.log has been renamed to shotgun.log (LP#1318516) - check if there is no logrotate instances running before executing cronjob DocImpact: ops guide Change-Id: Ie7040ebcdc1a3329ebb7507807e5c27f0c87b484 Closes-Bug: 1382515 Closes-Bug: 1446790 |
||
---|---|---|
.. | ||
logging.pp | ||
tasks.yaml |