United States-English |
|
|
Distributed Systems Administration Utilities User's Guide > Chapter 3 Consolidated LoggingIntroduction to syslog |
|
syslogd is a ubiquitous component of UNIX systems that performs system logging activities. syslogd reads from a set of log sources such as /dev/log and /dev/klog and processes the log messages as instructed in /etc/syslog.conf. Applications log messages to syslog using the syslog() call (see syslog(3C)). For more information on syslogd, see syslogd(1M). A syslog message has a standard format that includes an optional priority level and facility. The priority level indicates the urgency of the message. The facility indicates the subsystem that posted the message. Table 3-1 lists the priority level and facilities defined in /usr/include/syslog.h. Table 3-1 syslog Priority Levels
Table 3-2 describes syslog Facilities Messages. Table 3-2 syslog Facilities Messages
Using /etc/syslog.conf, messages can be filtered based on their priority level and facility. Messages can be directed to:
For more information on configuring message filters, see the syslogd(8) manpage. |
Printable version | ||
|