You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/11/04 23:32:36 UTC
[54/56] [abbrv] git commit: updated refs/heads/ui-restyle to b7259a4
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/ui-restyle
Commit: 70330f5cf32f4a0463edf5024cf841e0e678f423
Parents: 256763c
Author: Marcus Sorensen <ma...@betterservers.com>
Authored: Mon Nov 4 08:46:29 2013 -0700
Committer: Marcus Sorensen <ma...@betterservers.com>
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
+}