summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-01 08:34:34 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-04 01:27:33 +0000
commit093ead0b3acff1a79522fcf75f7768c32821fe05 (patch)
treec264e413e0b7c9aab680d8dccf45eeb4c41167ff /share
parentLogging some container actions in container program to /var/log/container-too... (diff)
downloadcompute-tools-093ead0b3acff1a79522fcf75f7768c32821fe05.tar.xz
compute-tools-093ead0b3acff1a79522fcf75f7768c32821fe05.zip
Adding logrotate handling for /var/log/container-tools/container.log.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share')
-rw-r--r--share/logrotate/container-tools11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/logrotate/container-tools b/share/logrotate/container-tools
new file mode 100644
index 0000000..18aa713
--- /dev/null
+++ b/share/logrotate/container-tools
@@ -0,0 +1,11 @@
+/var/log/container-tools/container.log {
+ compress
+ create 0640 root adm
+ dateext
+ dateformat -%Y%m
+ dateyesterday
+ missingok
+ monthly
+ notifempty
+ rotate 12
+}