What would you do to achieve this objective?

You want to direct all the severity debug messages from the mail facility to the /var/log/syslog file if
the local system is named loghost; otherwise to the machine loghost as defined in /etc/hosts,
domain name server (DNS), or network information service (NIS). What would you do to achieve
this objective?

You want to direct all the severity debug messages from the mail facility to the /var/log/syslog file if
the local system is named loghost; otherwise to the machine loghost as defined in /etc/hosts,
domain name server (DNS), or network information service (NIS). What would you do to achieve
this objective?

A.
Add themail.debug ifdef (‘@loghost’, /var/log/syslog, loghost) line to the /etc/syslog.conf file.

B.
Add themail.debug ifdef (‘LOGHOST’, /var/log/syslog, @loghost) line to the /etc/syslog.conf file.

C.
Add themail.debug ifdef (‘LOGHOST’, /var/log/syslog, @loghost) line to the
/etc/sysconfig/syslog file.

D.
Add themail.crit;*.debug ifdef (‘loghost’, /var/log/syslog, @loghost) line to the /etc/syslog.conf
file

E.
Add themail.crit;*.debug ifdef (‘LOGHOST’, /var/log/syslog, @loghost) line to the
/etc/sysconfig/syslog file.



Leave a Reply 0

Your email address will not be published. Required fields are marked *