From 5286e1f6db4afb780f6f088f18381d643d15f8cb Mon Sep 17 00:00:00 2001 From: Shu0T1an ChenG Date: Tue, 13 Jun 2017 12:24:19 -0700 Subject: [PATCH] [logrotate]: Add /var/log/swss/*.rec to logrotate target SwSS record files in /var/log/swss/ folder get larger and larger and were not rotated. Add them here to rotate these files. --- files/image_config/logrotate.d/rsyslog | 1 + 1 file changed, 1 insertion(+) diff --git a/files/image_config/logrotate.d/rsyslog b/files/image_config/logrotate.d/rsyslog index d24bc32abe17..a212ddfce15c 100644 --- a/files/image_config/logrotate.d/rsyslog +++ b/files/image_config/logrotate.d/rsyslog @@ -1,6 +1,7 @@ /var/log/syslog /var/log/quagga/*.log /var/log/teamd.log +/var/log/swss/*.rec { rotate 7 daily