Search notes:

Linux: logging

man 8 klogd writes:
In Linux there are two potential sources of kernel log information: the /proc file system and the syscall `sys_syslog` interface, although ultimately they are one and the same. Klogd is designed to choose whichever source of information is the most appropriate. It does this by first checking for the presence of a mounted /proc file system. If this is found the /proc/kmsg file is used as the source of kernel log information. If the proc file system is not mounted klogd uses a system call to obtain kernel messages

See also

logger

Index