This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

GridLogger Element Documentation

NAME

GridLogger -- Click element; Log Grid-related events.

SYNOPSIS

GridLogger(KEYWORDS)

Drivers: userlevel
Package: grid (core)

DESCRIPTION

This element provides methods which other Grid components can call to log significant protocol events. Multiple GridLogger elements can co-exist. Keyword arguments are:

LOGFILE
String. Filename of binary format log file. If this argument is supplied, the element starts logging to the specified file as soon as the element is initialized. Otherwise, no logging takes place until the start_log handler is called.
SHORT_IP
Boolean. Defaults to true. If true, only log the last byte of IP Addresses.

ELEMENT HANDLERS

start_log (write-only)
When a filename is written, starts logging to that file. Any existing logfile is closed.
stop_log (write-only)
Stop logging and close any open logfile.
logfile (read-only)
Return the filename of the current logfile, if any. May return the empty string.

SEE ALSO

GridRouteTable, DSDVRouteTable, GridTxError, LookupLocalGridRoute

Generated by 'click-elem2man' from '../elements/grid/gridlogger.hh' on 24/May/2007.

COMMENTS

 
elements/gridlogger.txt · Last modified: 2007/05/24 00:16 (external edit)
 
Recent changes RSS feed Driven by DokuWiki