Source: nginx
Source-Version: 1.2.6-1
Severity: minor
Tags: patch

Keeping 52 _days_ of server logs by default seems rather unusual.
It seems plausible that someone meant to specify 52 _weeks_.

-- 
http://rjy.org.uk/


>From 6cabff29a58ac608ca4935813dd3d16a6a6083f1 Mon Sep 17 00:00:00 2001
From: RjY <r...@users.sourceforge.net>
Date: Thu, 20 Dec 2012 19:29:37 +0000
Subject: [PATCH] logrotate: keep 52 weeks (not 52 days) of logs

---
 debian/logrotate |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/logrotate b/debian/logrotate
index 2d9547e..bc122b8 100644
--- a/debian/logrotate
+++ b/debian/logrotate
@@ -1,5 +1,5 @@
 /var/log/nginx/*.log {
-       daily
+       weekly
        missingok
        rotate 52
        compress
-- 
1.7.10.4


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to