ArielGlenn has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/361433 )

Change subject: for cirrusdumps, do not create new logs after old ones are 
rotated
......................................................................

for cirrusdumps, do not create new logs after old ones are rotated

because the date the dump is produced, is part of the log filename,
a new empty log with that date would be created, and rotated the
folllowing day... hence the number of log files in the directory would
grow forever.

Bug: T162688
Change-Id: I9b161f9e336261c6401eb1730ca5cd0fbdfce691
---
M modules/snapshot/files/cron/logrotate.cirrusdump
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/33/361433/1

diff --git a/modules/snapshot/files/cron/logrotate.cirrusdump 
b/modules/snapshot/files/cron/logrotate.cirrusdump
index b8add1a..489ab34 100644
--- a/modules/snapshot/files/cron/logrotate.cirrusdump
+++ b/modules/snapshot/files/cron/logrotate.cirrusdump
@@ -8,4 +8,5 @@
     delaycompress
     missingok
     maxage 22
+    nocreate
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b161f9e336261c6401eb1730ca5cd0fbdfce691
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to