System Logging in UNIX Logging and error reporting in UNIX have been unnecessarily complex. The following examples illustrate typical approaches for logging messages and reporting errors to the system console. For example, a kernel crash and the display of system state information should be directed to the system console. Work has been done on syslog in the 10.x releases to address performance and standards issues. Message strings are created throughout the UNIX system.
Most users create syslog messages through one of the standard interfaces to syslog .
514 Messages come into syslog from various paths. Every syslog message must be directed to one of a number of communication paths that are read by the syslogd daemon. The syslogd daemon may also do some filtering of messages, for example to prevent repeated messages from flooding the system. This set of locations may include sockets, files, the system console, and logged-on users. Messages can be directed to one or more of these locations.