PrepAway - Latest Free Exam Questions & Answers

Which two statements in /etc/syslog.conf will accomplish this?

A company develops storage host bus adapters. All of the company’s disk arrays log messages to a central log host named scribe through the local5 facility. Some of these disk arrays are used for production work by human resources and some are used by the development teams to test their new host bus adapters. The previous administrator put the following line in the /etc/syslog.conf file on scribe to log messages from the arrays:
local5.warning /var/adm/messages
Recently, the development team encountered a difficult problem and turned on the full debug
output from a disk array. They request that scribe log all of that information. Logging all of the debug messages will create a large number of messages that could cause an administrator to overlook real problems with the production disk arrays or to overlook scribe system problems. You want to have the syslog.conf file stop using /var/adm/messages for the local5 facility messages. You want to log warning and above levels for the local5 facility to /var/adm/arrays.messages and log debug and above level messages for the local5 facility to /var/adm/arrays.debug.
Which two statements in /etc/syslog.conf will accomplish this? (Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
*.debug /var/adm/messages

B.
local5.debug /var/adm/arrays.debug

C.
local5.warning /var/adm/arrays.debug

D.
local5.warning /var/adm/arrays.messages

E.
!local5.debug /var/adm/arrays.messages

One Comment on “Which two statements in /etc/syslog.conf will accomplish this?


Leave a Reply