Skip to content

Commit

Permalink
[submodule]: update swss/sairedis/swss-common submodule (#716)
Browse files Browse the repository at this point in the history
fix bug for logrotate sairedis log
  • Loading branch information
lguohan authored Jun 18, 2017
1 parent 2f231f3 commit 4a780f4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
15 changes: 14 additions & 1 deletion files/image_config/logrotate.d/rsyslog
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/var/log/syslog
/var/log/quagga/*.log
/var/log/teamd.log
/var/log/swss/*.rec
{
rotate 7
daily
Expand All @@ -18,6 +17,20 @@
kill -HUP $(cat /var/run/rsyslogd.pid)
endscript
}
/var/log/swss/*.rec
{
rotate 7
daily
maxsize 20M
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
pgrep -x orchagent | xargs /bin/kill -HUP 2>/dev/null || true
endscript
}
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-sairedis
2 changes: 1 addition & 1 deletion src/sonic-swss
2 changes: 1 addition & 1 deletion src/sonic-swss-common

0 comments on commit 4a780f4

Please sign in to comment.