Unix/Linux Go Back    


NetBSD 6.1.5 - man page for log (netbsd section 9)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


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
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 11:49 AM.