[apache2] 02/02: keep fewer logs, rotate daily
Stefan Fritsch
sf at moszumanska.debian.org
Wed Aug 27 05:34:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
sf pushed a commit to branch master
in repository apache2.
commit 8877dbd1021527c8a988b3c3deb6523b95477e15
Author: Stefan Fritsch <sf at sfritsch.de>
Date: Wed Aug 27 07:32:53 2014 +0200
keep fewer logs, rotate daily
---
debian/apache2.logrotate | 4 ++--
debian/changelog | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/apache2.logrotate b/debian/apache2.logrotate
index f3d8837..f587192 100644
--- a/debian/apache2.logrotate
+++ b/debian/apache2.logrotate
@@ -1,7 +1,7 @@
/var/log/apache2/*.log {
- weekly
+ daily
missingok
- rotate 52
+ rotate 31
compress
delaycompress
notifempty
diff --git a/debian/changelog b/debian/changelog
index d0f1e32..62f4bb1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ apache2 (2.4.10-2) UNRELEASED; urgency=medium
* Switch to apache2 providing the httpd and httpd-cgi virtual packages.
The previously providing apache2-bin package lacks the configuration
files. Closes: #756361
+ * Keep fewer logs by default. Instead of 52 weekly logs, keep 31 daily
+ logs. The daily rotation also has the advantage of regenerating things
+ like TLS session ticket keys more often. Closes: #759382
+
-- Stefan Fritsch <sf at debian.org> Wed, 27 Aug 2014 07:22:55 +0200
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apache2.git
More information about the Pkg-apache-commits
mailing list