» Linux »
Examen sur Linux »
Examen 202 : Networking Administration »
Section 3 »
Question 14/20
Explanation: The first part of the answer, “mail.*” instructs syslogd to log all types of mail
messages, which is not what we want (the syntax is mail.type). However, the second part of the
answer, “mail.!=info” overrules that and instructs syslogd to ignore mail messages of the type ‘info’.
‘Info’ is a ‘serverity level’ for the message. Examples of other levels are err and crit.
Reference: http://nodevice.com/sections/ManIndex/man1597.html
Incorrect Answers
A: There must be a dot (period) separating mail and !=info.
B: The exclamation mark (!) means to ignore this type. This answer will only log the info type. We
want to ignore the info type.
C: This answer will log all mail messages of type ‘info’ or above. We want to exclude the ‘info’
type.