Skip to content

Commit

Permalink
Update roles/rsyslog/templates/input_basics.j2
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Megginson <[email protected]>
  • Loading branch information
brakkio86 and richm committed Dec 8, 2023
1 parent 521e4c8 commit 672e093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/rsyslog/templates/input_basics.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module(load="imklog" permitnonkernelfacility="on")
{% if __rsyslog_input.use_imuxsock | d(false) | bool %}
module(load="imuxsock" # provides support for local system logging (e.g. via logger command)
SysSock.RateLimit.Interval="{{ __rsyslog_input.ratelimit_interval | d(0) }}"
{% if __rsyslog_input.ratelimit_interval is defined and __rsyslog_input.ratelimit_interval > 0 %}
{% if __rsyslog_input.ratelimit_interval | d(0) > 0 %}
SysSock.RateLimit.Burst="{{ __rsyslog_input.ratelimit_burst | d(200) }}"
{% endif %}
SysSock.Use="on") # Turn on message reception via local log socket.
Expand Down

0 comments on commit 672e093

Please sign in to comment.