/*++ /* NAME /* msg_syslog 3 /* SUMMARY /* direct diagnostics to syslog daemon /* SYNOPSIS /* #include <msg_syslog.h> /* /* void msg_syslog_init(progname, log_opt, facility) /* const char *progname; /* int log_opt; /* int facility; /* /* int msg_syslog_set_facility(facility_name) /* const char *facility_name; /* /* void msg_syslog_disable(void) /* DESCRIPTION /* This module implements support to report msg(3) diagnostics /* via the syslog daemon. /* /* msg_syslog_init() is a wrapper around the openlog(3) routine /* that directs subsequent msg(3) output to the syslog daemon. /* This function may also be called to update msg_syslog /* settings. If the program name appears to contain a process ID /* then msg_syslog_init will attempt to suppress its own PID. /* /* msg_syslog_set_facility() is a helper routine that overrides the /* logging facility that is specified with msg_syslog_init(). /* The result is zero in case of an unknown facility name. /* /* msg_syslog_disable() turns off the msg_syslog client, /* until a subsequent msg_syslog_init() call. /* SEE ALSO /* syslog(3) syslog library /* msg(3) diagnostics module /* BUGS /* Output records are truncated to 2000 characters. This is done in /* order to defend against a buffer overflow problem in some /* implementations of the syslog() library routine. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA /* /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, USA
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.