addlog man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

LOG(9)			     OpenBSD Kernel Manual			LOG(9)

NAME
     log, addlog - log a message from the kernel through the /dev/klog device

SYNOPSIS
     #include <sys/syslog.h>

     void
     log(int level, const char *format, ...);

     void
     addlog(const char *format, ...);

DESCRIPTION
     The log() function allows the kernel to send formatted 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 formatted using printf(9), logged using facility
     LOG_KERN, and priority level level.

     The addlog() function is used to build a log message in steps, by adding
     information to an initial call to log().

SEE ALSO
     syslog(3), syslogd(8), printf(9)

OpenBSD 4.9			 June 26, 2008			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net