Updated Branches: refs/heads/4.2 9bf30479f -> 5cc9b1de6
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/5cc9b1de Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5cc9b1de Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5cc9b1de Branch: refs/heads/4.2 Commit: 5cc9b1de661f3189dcd1e3eb65d7e1d15c05e9e6 Parents: 9bf3047 Author: Marcus Sorensen <[email protected]> Authored: Mon Nov 4 08:46:29 2013 -0700 Committer: Marcus Sorensen <[email protected]> Committed: Mon Nov 4 08:48:37 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/5cc9b1de/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 +}
