/*++ /* NAME /* debug_peer 3 /* SUMMARY /* increase verbose logging for specific peers /* SYNOPSIS /* #include <debug_peer.h> /* /* void debug_peer_init(void) /* /* int debug_peer_check(peer_name, peer_addr) /* const char *peer_name; /* const char *peer_addr; /* /* void debug_peer_restore() /* DESCRIPTION /* This module implements increased verbose logging for specific /* network peers. /* /* The \fIdebug_peer_list\fR configuration parameter /* specifies what peers receive this special treatment; see /* namadr_list(3) for a description of the matching process. /* /* The \fIdebug_peer_level\fR configuration parameter specifies /* by what amount the verbose logging level should increase when /* a peer is listed in \fIdebug_peer_list\fR. /* /* debug_peer_init() performs initializations that must be /* performed once at the start of the program. /* /* debug_peer_check() increases the verbose logging level when the /* client name or address matches the debug_peer_list pattern. /* The result is non-zero when the noise leven was increased. /* /* debug_peer_restore() restores the verbose logging level. /* This routine has no effect when debug_peer_check() had no /* effect; this routine can safely be called multiple times. /* DIAGNOSTICS /* Panic: interface violations. /* Fatal errors: unable to access a peer_list file; invalid /* peer_list pattern; invalid verbosity level increment. /* SEE ALSO /* msg(3) the msg_verbose variable /* namadr_list(3) match host by name or by address /* CONFIG PARAMETERS /* debug_peer_list, patterns as described in namadr_list(3) /* debug_peer_level, verbose logging level /* 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
/*--*/
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.