CLOUDSTACK-3216 /var/log/cloud.log did not have a logrotate script, here is a basic one.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/70330f5c Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/70330f5c Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/70330f5c Branch: refs/heads/rbac Commit: 70330f5cf32f4a0463edf5024cf841e0e678f423 Parents: 256763c Author: Marcus Sorensen <[email protected]> Authored: Mon Nov 4 08:46:29 2013 -0700 Committer: Marcus Sorensen <[email protected]> Committed: Mon Nov 4 08:47:15 2013 -0700 ---------------------------------------------------------------------- patches/systemvm/debian/config/etc/logrotate.d/cloud | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/70330f5c/patches/systemvm/debian/config/etc/logrotate.d/cloud ---------------------------------------------------------------------- diff --git a/patches/systemvm/debian/config/etc/logrotate.d/cloud b/patches/systemvm/debian/config/etc/logrotate.d/cloud new file mode 100644 index 0000000..40c4203 --- /dev/null +++ b/patches/systemvm/debian/config/etc/logrotate.d/cloud @@ -0,0 +1,11 @@ +/var/log/cloud.log { + rotate 4 + daily + missingok + notifempty + compress + delaycompress + postrotate + pkill socat > /dev/null + endscript +}
