summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-20 15:53:20 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-20 15:53:20 +0200
commit282a0a2accdcaea8df928ba1b9269f028564803e (patch)
tree7bb4db2e3c41c64e6a9a9c1a5cce7106acc4ef0c /hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn
parent725299cee516e7b16f073f7cf0e401be9fa7052d (diff)
downloadjenkins.debian.net-282a0a2accdcaea8df928ba1b9269f028564803e.tar.xz
save update_jdn output in /var/log/jenkins/update_jdn.log and logrotate it
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn')
-rw-r--r--hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn9
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn b/hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn
new file mode 100644
index 00000000..c1f207a7
--- /dev/null
+++ b/hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn
@@ -0,0 +1,9 @@
+/var/log/jenkins/update_jdn.log {
+ daily
+ copytruncate
+ missingok
+ rotate 7
+ compress
+ delaycompress
+ notifempty
+}