Skip to content

Commit

Permalink
[logrotate]: Add /var/log/swss/*.rec to logrotate target (sonic-net#703)
Browse files Browse the repository at this point in the history
SwSS record files in /var/log/swss/ folder get larger and
larger and were not rotated. Add them here to rotate these files.
  • Loading branch information
Shuotian Cheng authored and lguohan committed Jun 14, 2017
1 parent e46cf29 commit 8843c6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/image_config/logrotate.d/rsyslog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/var/log/syslog
/var/log/quagga/*.log
/var/log/teamd.log
/var/log/swss/*.rec
{
rotate 7
daily
Expand Down

0 comments on commit 8843c6f

Please sign in to comment.