From 7e56b74ee8b9bda617162065b85bdabafa2e8f0e Mon Sep 17 00:00:00 2001 From: Kristine Bujold Date: Wed, 5 Jun 2019 12:55:53 -0400 Subject: [PATCH] Add /var/log/armada/ to logrotate This commit adds /var/log/armada, which stores application related logs generated by Armada service, to logrotate. Story: 2003908 Task: 28267 Depends-On: https://review.opendev.org/663347 Change-Id: I98c7caf85cfecf4de1f55be69a00697f9073a1a8 Signed-off-by: Kristine Bujold --- config-files/syslog-ng-config/centos/build_srpm.data | 2 +- config-files/syslog-ng-config/files/syslog-ng.logrotate | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config-files/syslog-ng-config/centos/build_srpm.data b/config-files/syslog-ng-config/centos/build_srpm.data index 75f295c2e..619d51041 100644 --- a/config-files/syslog-ng-config/centos/build_srpm.data +++ b/config-files/syslog-ng-config/centos/build_srpm.data @@ -1,2 +1,2 @@ SRC_DIR="files" -TIS_PATCH_VER=2 +TIS_PATCH_VER=3 diff --git a/config-files/syslog-ng-config/files/syslog-ng.logrotate b/config-files/syslog-ng-config/files/syslog-ng.logrotate index ad46a0696..a564f3a7a 100644 --- a/config-files/syslog-ng-config/files/syslog-ng.logrotate +++ b/config-files/syslog-ng-config/files/syslog-ng.logrotate @@ -59,6 +59,7 @@ /var/log/collect.log /var/log/ldapscripts.log /var/log/tuned/tuned.log +/var/log/armada/*.log { nodateext size 10M