Inetd
Inetd
Inetd
Refs: Chapter 13
UDP socket
port 514 syslogd Console
/dev/klog
Remote syslogd
/etc/syslog.conf
Netprog: daemons and inetd 10
Sending a message to
syslogd
• Standard programming interface provided by
syslog() function:
#include <syslog.h>
void syslog( int priority,
const char *message,
. . . );
• A text string.
Message: (level,facility,string)