netbsd man page for log

Query: log

OS: netbsd

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LOG(9)							   BSD Kernel Developer's Manual						    LOG(9)

NAME
log -- log a message from the kernel through the /dev/klog device
SYNOPSIS
#include <sys/syslog.h> void log(int level, const char *format, ...);
DESCRIPTION
The log() function allows the kernel to send messages to user processes listening on /dev/klog. Usually syslogd(8) monitors /dev/klog for these messages and writes them to a log file. All messages are logged using facility LOG_KERN. See syslog(3) for a listing of log levels.
SEE ALSO
syslog(3), syslogd(8)
BSD
May 12, 1997 BSD
Related Man Pages
logger(1b) - opensolaris
syslogd(8) - freebsd
syslogd(8) - bsd
doveadm-log(1) - debian
doveadm-log(1) - centos
Similar Topics in the Unix Linux Community
How Many Technology Forums Do You Actively Participate In?
Solaris 8 login GUI doesn't come up.
Pop up dialog box on remote computers
Interested in Blogging on unix.com ?
Date format in the files written by syslogd