Rsyslog startup warning "action is deprecated, consider using the 'stop' statement instead"
book
Article ID: 292258
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
Warning produced after running service rsyslog restart.
rsyslogd: warning: ~ action is deprecated, consider using the 'stop' statement instead
Environment
- EDR Sever: All Versions
- CentOS: 7.x and above
- RHEL: 7.x and above
Cause
This is a warning message emitted when rsyslog starts based on a configuration file with outdated symbols.
In syslog version 6, the tilde (~) was used as a discard action. In rsyslog version 7, the tilde was replaced with "stop".
This is usually just a warning and rsyslog starts regardless. This is not related to EDR services.
Resolution
- Check the rsyslog config file /etc/rsyslog.conf for tilde symbols.
- Confirm the configuration file contents match rsyslog version installed.
Feedback
thumb_up
Yes
thumb_down
No