Choose the syslog facility used for messages generated by the kernel.
Which facility is appropriate?
kern classifies messages generated by the kernel; facility and priority are separate dimensions.
Detailed explanation
authprivIncorrect. authpriv is for private authentication and authorization messages.
daemonIncorrect. daemon is for system daemons without a more specific facility.
userIncorrect. user is for user-level messages.
kernCorrect. kern is the kernel facility.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s\n' 'kern=kernel' 'authpriv=private authentication' 'daemon=system daemons' 'user=user-level messages'Expected result
facilityと用途の対応4行Key points
- kern means kernel
- Facility is source classification
- Separate from priority
Notes
- Environment: 合成facility表の確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.