Skip to content

Commit

Permalink
Revert "[docker-base]: Rate limit priority INFO and lower in syslog" (s…
Browse files Browse the repository at this point in the history
…onic-net#5763)

* This was a temporary fix for orchagent spamming log messages and causing rate limiting, leading to critical messages being dropped for the syslog. No longer needed since sonic-net/sonic-sairedis#680 was merged.
  • Loading branch information
theasianpianist authored and santhosh-kt committed Feb 25, 2021
1 parent 871927c commit 41153f7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions dockers/docker-base-buster/etc/rsyslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
$ModLoad imuxsock # provides support for local system logging

#
# Set a rate limit on messages from the container of priority INFO or lower (level 6 and above)
# Set a rate limit on messages from the container
#
$SystemLogRateLimitInterval 300
$SystemLogRateLimitBurst 20000
$SystemLogRateLimitSeverity 6

#$ModLoad imklog # provides kernel logging support
#$ModLoad immark # provides --MARK-- message capability
Expand Down
3 changes: 1 addition & 2 deletions dockers/docker-base-stretch/etc/rsyslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
$ModLoad imuxsock # provides support for local system logging

#
# Set a rate limit on messages from the container of priority INFO or lower (level 6 and above)
# Set a rate limit on messages from the container
#
$SystemLogRateLimitInterval 300
$SystemLogRateLimitBurst 20000
$SystemLogRateLimitSeverity 6

#$ModLoad imklog # provides kernel logging support
#$ModLoad immark # provides --MARK-- message capability
Expand Down
3 changes: 1 addition & 2 deletions dockers/docker-base/etc/rsyslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
$ModLoad imuxsock # provides support for local system logging

#
# Set a rate limit on messages from the container of priority INFO or lower (level 6 and above)
# Set a rate limit on messages from the container
#
$SystemLogRateLimitInterval 300
$SystemLogRateLimitBurst 20000
$SystemLogRateLimitSeverity 6

#$ModLoad imklog # provides kernel logging support
#$ModLoad immark # provides --MARK-- message capability
Expand Down
3 changes: 1 addition & 2 deletions files/image_config/rsyslog/rsyslog-container.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
$ModLoad imuxsock # provides support for local system logging

#
# Set a rate limit on messages from the container of priority INFO or lower (level 6 and above)
# Set a rate limit on messages from the container
#
$SystemLogRateLimitInterval 300
$SystemLogRateLimitBurst 20000
$SystemLogRateLimitSeverity 6

#$ModLoad imklog # provides kernel logging support
#$ModLoad immark # provides --MARK-- message capability
Expand Down

0 comments on commit 41153f7

Please sign in to comment.