PrepAway - Latest Free Exam Questions & Answers

Which of the following must be included in the syslogd configuration file, so that ONLY kernel related message

Which of the following must be included in the syslogd configuration file, so that ONLY kernel
related messages with the priority crit are reported?

PrepAway - Latest Free Exam Questions & Answers

A.
kern.crit

B.
kern.!crit

C.
kern.=crit

D.
kern.*=crit

E.
kern.-crit

2 Comments on “Which of the following must be included in the syslogd configuration file, so that ONLY kernel related message

  1. Marco says:

    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

Leave a Reply