couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woh...@apache.org
Subject [couchdb-pkg] branch master updated: fix logrotate for deb, change retention policy to 1w, closes #12
Date Mon, 11 Jun 2018 23:31:44 GMT
This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git


The following commit(s) were added to refs/heads/master by this push:
     new 7768c00  fix logrotate for deb, change retention policy to 1w, closes #12
7768c00 is described below

commit 7768c0041f271cc0d49be80dd3990ec10acafe1b
Author: Joan Touzet <wohali@apache.org>
AuthorDate: Mon Jun 11 16:31:34 2018 -0700

    fix logrotate for deb, change retention policy to 1w, closes #12
---
 debian/couchdb.install        | 1 +
 debian/couchdb.logrotate      | 4 ++--
 rpm/SOURCES/couchdb.logrotate | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/couchdb.install b/debian/couchdb.install
index 7e1513b..7533ba2 100755
--- a/debian/couchdb.install
+++ b/debian/couchdb.install
@@ -1,4 +1,5 @@
 #!/usr/bin/dh-exec
 debian/NO_LONGER_USED_MOVED_TO_opt_couchdb_etc => etc/couchdb/NO_LONGER_USED_MOVED_TO_opt_couchdb_etc
 debian/10-filelog.ini => opt/couchdb/etc/default.d/10-filelog.ini
+debian/couchdb.logrotate => etc/logrotate.d/couchdb
 rel/couchdb /opt
diff --git a/debian/couchdb.logrotate b/debian/couchdb.logrotate
index 1ef2fdb..920ee73 100644
--- a/debian/couchdb.logrotate
+++ b/debian/couchdb.logrotate
@@ -1,6 +1,6 @@
 /var/log/couchdb/couchdb.log {
-  weekly
-  rotate 10
+  daily
+  rotate 7
   copytruncate
   delaycompress
   compress
diff --git a/rpm/SOURCES/couchdb.logrotate b/rpm/SOURCES/couchdb.logrotate
index 1ef2fdb..920ee73 100644
--- a/rpm/SOURCES/couchdb.logrotate
+++ b/rpm/SOURCES/couchdb.logrotate
@@ -1,6 +1,6 @@
 /var/log/couchdb/couchdb.log {
-  weekly
-  rotate 10
+  daily
+  rotate 7
   copytruncate
   delaycompress
   compress

-- 
To stop receiving notification emails like this one, please contact
wohali@apache.org.

Mime
View raw message