Troubleshooting

An administrator wants rsyslog to write every message of priority err or higher, from any facility, to /var/log/alerts.log. Messages of lower priority must not be written there. Which rule does this?

Show the answer

Correct answerD. *.err /var/log/alerts.log

A selector of *.err matches priority err and every higher priority (crit, alert, emerg) for all facilities. The *.=err form matches only err exactly, so it would miss crit and above.