By classifying information in the entries and in the contents of the config file (typically /etc/syslog.conf), Syslogd routes the information—such as “print to the system console,” “mail to a specific user,” “create entry in a logfile,” “forward to another daemon,” or “discard.” Syslogd can also listen for information on the Syslog UDP port and on the local socket. Though Syslogd can operate on information from the operating system, the kernel does not write to /dev/log. Instead, another daemon (named Klogd) receives information from the kernel and forwards it to Syslogd.
Syslogd must receive a two-part classfication piece of information from each process consisting of “facility” and “priority.” A facility/priority number is one indicating both the facility and the priority. Facility ascertains the source—such as the kernel, the mail subsystem, or an FTP server. Priority ascertains the importance of the contents—such as debug, informational, warning, or critical. Except for the fact that priorities have a defined order, the real meaning of these is determined by the system administrator.
See Also: Administrator; Daemon; Domain Name System (DNS); /etc/syslog.conf; FTP (File Transfer Protocol); Kernel; Logfile; Socket; UNIX; User Datagram Protocol (UDP).