summaryrefslogtreecommitdiff
path: root/logrotate.conf
diff options
context:
space:
mode:
Diffstat (limited to 'logrotate.conf')
-rw-r--r--logrotate.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/logrotate.conf b/logrotate.conf
new file mode 100644
index 0000000..4b0bfe7
--- /dev/null
+++ b/logrotate.conf
@@ -0,0 +1,17 @@
+compress
+missingok
+notifempty
+
+/var/log/xen/xen-hotplug.log {
+ rotate 2
+ size 100k
+ copytruncate
+}
+
+/var/log/xen/xl-*.log /var/log/xen/qemu-dm-*.log /var/log/xen/console/*.log {
+ rotate 4
+ dateext
+ dateformat -%Y%m%d-%H%M
+ size 2M
+ copytruncate
+}