ArielGlenn has submitted this change and it was merged. (
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(-)
Approvals:
ArielGlenn: Looks good to me, approved
EBernhardson: Looks good to me, but someone else must approve
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I9b161f9e336261c6401eb1730ca5cd0fbdfce691
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits