Logstash 6 introduced in Centos 8 in Train release comes with log4j2
configuration that does not remove old compressed logs after rotation
Log rotation config backported from Logstash 7 - Combination of Size
Based and Time Based policies. Deletion occurs after 30 days or
3000 MB log files size - whichever comes first.
Change-Id: Ib44f493aad0813a8aba916c7c353b60cab954b5f
(cherry picked from commit 15f2af1b0217da0a0281268442202f22915570a1)
Closes-Bug: #1886975
Reviewed: https:/ /review. opendev. org/740906 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=102ae176bfa ebf10c041bb5fba a8fa62215a5801
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 102ae176bfaebf1 0c041bb5fbaa8fa 62215a5801
Author: Bartosz Bezak <email address hidden>
Date: Mon Jul 13 08:37:25 2020 +0000
Fix Logstash 6 log rotation - Stable/Train
Logstash 6 introduced in Centos 8 in Train release comes with log4j2
configuration that does not remove old compressed logs after rotation
Log rotation config backported from Logstash 7 - Combination of Size
Based and Time Based policies. Deletion occurs after 30 days or
3000 MB log files size - whichever comes first.
Change-Id: Ib44f493aad0813 a8aba916c7c353b 60cab954b5f a0281268442202f 22915570a1)
(cherry picked from commit 15f2af1b0217da0
Closes-Bug: #1886975