Ottomata has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/212286

Change subject: Compess kafkatee generated logs in logrotate
......................................................................

Compess kafkatee generated logs in logrotate

(forgot to save before committing the last one)

Change-Id: I96cc490d89f46a6debb9aa5c0b913ff23807aa01
---
M templates/kafkatee/logrotate.erb
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/86/212286/1

diff --git a/templates/kafkatee/logrotate.erb b/templates/kafkatee/logrotate.erb
index e0ff368..dc53e2e 100644
--- a/templates/kafkatee/logrotate.erb
+++ b/templates/kafkatee/logrotate.erb
@@ -3,8 +3,13 @@
 <%= @webrequest_log_directory %>/*.log {
   daily
   rotate 62
+  maxage 62
+  olddir <%= @log_directory %>/archive
   missingok
   notifempty
+  nocreate
+  dateext
+  compress
   postrotate
     service kafkatee reload
   endscript

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96cc490d89f46a6debb9aa5c0b913ff23807aa01
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <o...@wikimedia.org>

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

Reply via email to