rsyslog conf option if $programname == 'FILE_TAG' then ~
Posted: Thu Sep 12, 2019 11:15 pm
nagios LS offers a manual template for adding config options for file monitoring to rsyslog.conf file.
The last line of the sample is:
if $programname == 'FILE_TAG' then ~
When I start rsyslog I get the following event in the message logs:
Sep 12 22:00:56 aumtech02 rsyslogd: warning: ~ action is deprecated, consider using the 'stop' statement instead [v8.1908.0 try https://www.rsyslog.com/e/2307 ]
Is there a recommendation for using "~" or "stop"
Thanks
The last line of the sample is:
if $programname == 'FILE_TAG' then ~
When I start rsyslog I get the following event in the message logs:
Sep 12 22:00:56 aumtech02 rsyslogd: warning: ~ action is deprecated, consider using the 'stop' statement instead [v8.1908.0 try https://www.rsyslog.com/e/2307 ]
Is there a recommendation for using "~" or "stop"
Thanks