1Z0-822 · Question #63
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…
The correct answer is C. There is an extra space in line 21 in the /etc/syslog.conf file. Must only use Tabs, not spaces. It says unknown priority name "notice " (there is a space after the word notice).
Question
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?
Exhibit
Options
- AThere is a control or nonprintable character at the end of line 21 in the /etc/syslog.conf file.
- BThe application that logs to /var/log/Appx.log does not support the notice priority.
- CThere is an extra space in line 21 in the /etc/syslog.conf file.
- DThe facility local7 does not support the notice priority.
How the community answered
(14 responses)- A14% (2)
- B7% (1)
- C79% (11)
Explanation
Must only use Tabs, not spaces. It says unknown priority name "notice " (there is a space after the word notice).
Topics
Community Discussion
No community discussion yet for this question.
