Ori.livneh has submitted this change and it was merged.

Change subject: memcached: logrotate only csv files
......................................................................


memcached: logrotate only csv files

logrotate will not DTRT otherwise:

-rw-r--r--  1 root root 6926148 Jul 26 07:07 2015_07_26.csv
-rw-r--r--  1 root root 1798376 Jul 25 07:07 2015_07_25.csv.1.gz
-rw-r--r--  1 root root 1636745 Jul 24 07:07 2015_07_24.csv.1.gz
-rw-r--r--  1 root root 1774328 Jul 23 07:07 2015_07_23.csv.1.gz.1.gz
-rw-r--r--  1 root root 1678924 Jul 22 07:07 2015_07_22.csv.1.gz.1.gz

Change-Id: I78771afd7a564f6a35e9df342fbb04832e27575d
---
M files/memcached/memkeys.logrotate
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ori.livneh: Verified; Looks good to me, approved



diff --git a/files/memcached/memkeys.logrotate 
b/files/memcached/memkeys.logrotate
index f00df2d..a5b81dc 100644
--- a/files/memcached/memkeys.logrotate
+++ b/files/memcached/memkeys.logrotate
@@ -2,7 +2,7 @@
 # writes memcached key usage stats to a CSV file in /var/log/memkeys
 # once a day.
 
-/var/log/memkeys/* {
+/var/log/memkeys/*.csv {
   rotate 90
   compress
   daily

-- 
To view, visit https://gerrit.wikimedia.org/r/227191
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I78771afd7a564f6a35e9df342fbb04832e27575d
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Ori.livneh <o...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to