[SCM] jenkins packaging branch, master, updated. debian/1.447.1+dfsg-1-4-g331c5c0

James Page james.page at ubuntu.com
Thu Jun 21 09:22:33 UTC 2012


The following commit has been merged in the master branch:
commit 331c5c00e898f0f82985095c9f62f58bcb602a04
Author: James Page <james.page at ubuntu.com>
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 <james.page at ubuntu.com>  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



More information about the pkg-java-commits mailing list