GitHub user resmo opened a pull request: https://github.com/apache/cloudstack/pull/1414
SystemVM cleanups from the logrotate docs > size - With this, the log file is rotated when the specified size is reached. Size may be specified in bytes (default), kilobytes (sizek), or megabytes (sizem). > Note: If size and time interval options are specified at same time, only size option take effect. it causes log files to be rotated without regard for the last rotation time. If both log size and timestamp of a log file need to be considered by logrotate, the minsize option should be used. logrotate will rotate log file when they grow bigger than minsize, but not before the additionally specified time interval. You can merge this pull request into a Git repository by running: $ git pull https://github.com/resmo/cloudstack fix/cleanup Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1414.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1414 ---- commit 4a3bc1e3024a7bd1608d25068963328f456b0aa2 Author: Rene Moser <re...@apache.org> Date: 2016-02-16T10:21:30Z systemvm, logrotate: remove daily explicitly as it is ignored If the size directive is used, logrotate will ignore the daily, weekly, monthly, and yearly directives. Signed-off-by: Rene Moser <re...@apache.org> commit eb3cd8f487e4c573ff92d98cc7969a93891b1155 Author: Rene Moser <re...@apache.org> Date: 2016-02-16T10:25:48Z remove cloud-cleanup This script does not do anything because it fails due missing /var/log/cloud directory. Logrotate is used for this functionality. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---