Which of the following must be included in the syslogd configuration file, so that ONLY kernel related messages with the priority crit are reported?
A. Kern.crit
B. Kern.!crit
C. Kern.=crit
D. Kern.*=crit
E. Kern.-crit
Which of the following must be included in the syslogd configuration file, so that ONLY kernel related messages with the priority crit are reported?
A. Kern.crit
B. Kern.!crit
C. Kern.=crit
D. Kern.*=crit
E. Kern.-crit
Anonymous is right: it’s A
Sorry, I double checked and it is C because is says ONLY.
link https://www.daemon-systems.org/man/syslog.conf.5.html says in examples sections:
# Log daemon messages at debug level only
daemon.=debug /var/log/daemon.debug
# Save mail and news errors of level err and higher in a
# special file.
mail,news.err /var/log/spoolerr
i think A is correct