From 70330f5cf32f4a0463edf5024cf841e0e678f423 Mon Sep 17 00:00:00 2001 From: Marcus Sorensen Date: Mon, 4 Nov 2013 08:46:29 -0700 Subject: [PATCH] CLOUDSTACK-3216 /var/log/cloud.log did not have a logrotate script, here is a basic one. --- patches/systemvm/debian/config/etc/logrotate.d/cloud | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 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 00000000000..40c42032e79 --- /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 +}