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
You must be logged in to post a comment.
C is the correct answer. kern.crit means crit and above.
0
0
C is the correct answer
The following example is taken from the man page of syslog.conf.
# Store critical stuff in critical
#
*.=crit;kern.none /var/adm/critical
# Kernel messages are first, stored in the kernel
# file, critical messages and higher ones also go
# to another host and to the console
#
kern.* /var/adm/kernel
kern.crit @finlandia
kern.crit /dev/console
kern.info;kern.!err /var/adm/kernel-info
0
0