The following commit has been merged in the master branch:
commit 331c5c00e898f0f82985095c9f62f58bcb602a04
Author: James Page <[email protected]>
Date: Thu Jun 21 10:18:11 2012 +0100
Ensure jenkins keeps logging after log rotation (LP: #993065).
* Ensure jenkins keeps logging after log rotation (LP: #993065).
- d/*.logrotate: Switch to copytruncate so jenkins does not lose
the original file handle.
diff --git a/debian/changelog b/debian/changelog
index 384fbbe..f3710db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
jenkins (1.447.2+dfsg-1) unstable; urgency=low
* New upstream release.
+ * Ensure jenkins keeps logging after log rotation (LP: #993065).
+ - d/*.logrotate: Switch to copytruncate so jenkins does not lose
+ the original file handle.
-- James Page <[email protected]> Thu, 21 Jun 2012 09:47:58 +0100
diff --git a/debian/jenkins-slave.logrotate b/debian/jenkins-slave.logrotate
index eb1d433..a44c052 100644
--- a/debian/jenkins-slave.logrotate
+++ b/debian/jenkins-slave.logrotate
@@ -1,8 +1,9 @@
/var/log/jenkins/jenkins-slave.log {
- daily
+ daily
+ copytruncate
missingok
rotate 7
compress
+ delaycompress
notifempty
- create 644 jenkins jenkins
}
diff --git a/debian/jenkins.logrotate b/debian/jenkins.logrotate
index 4efa822..8fc3960 100644
--- a/debian/jenkins.logrotate
+++ b/debian/jenkins.logrotate
@@ -1,8 +1,9 @@
/var/log/jenkins/jenkins.log {
daily
+ copytruncate
missingok
rotate 7
compress
+ delaycompress
notifempty
- create 644 jenkins jenkins
}
--
jenkins packaging
_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits