You are mentoring a colleague who recently added a local7.notice entry to the /etc/syslog.conf file.
After restarting the logging service, your colleague notices that no new records are being logged
and asks for your help. Included in the file are these entries:
…
(19)*.alert root
(20)*.emerg*
(21)local7.notice /var/log/Appx.log
…
While running the syslogd process in debug mode, you notice the following:
You examine the /var/adm/messages file:
Jan 6 00:23:10 so111-server syslogd: line 21: unknown priority name “notice ”
What do you identify as the cause of the problem?
A.
There is a control or nonprintable character at the end of line 21 in the /etc/syslog.conf file.
B.
The application that logs to /var/log/Appx.log does not support the notice priority.
C.
There is an extra space in line 21 in the /etc/syslog.conf file.
D.
The facility local7 does not support the notice priority.
Explanation:
Must only use Tabs, not spaces.
It says unknown priority name “notice ” (there is a space after the word notice).
I have to reschedule my exam ….
d i think
I think C is correct.
Here is a same issue:
https://community.oracle.com/thread/1924536