Package rpki.log
Detailed Description
Logging facilities for RPKI libraries.
$Id: log.py 2933 2010-01-07 01:00:17Z sra $
Copyright (C) 2009 Internet Systems Consortium ("ISC")
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
Portions copyright (C) 2007--2008 American Registry for Internet Numbers ("ARIN")
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND ARIN DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL ARIN BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
Function Documentation
def rpki.log.init |
( |
|
ident = "rpki" , |
|
|
|
flags = syslog.LOG_PID , |
|
|
|
facility = syslog.LOG_DAEMON | |
|
) |
| | |
Initialize logging system.
Definition at line 51 of file log.py.
def rpki.log.set_trace |
( |
|
enable |
) |
|
Enable or disable call tracing.
Definition at line 63 of file log.py.
Execution trace -- where are we now, and whence came we here?
Definition at line 91 of file log.py.
def rpki.log.traceback |
( |
|
) |
|
Consolidated backtrace facility with a bit of extra info.
Definition at line 100 of file log.py.
Variable Documentation
Whether call tracing is enabled.
Definition at line 41 of file log.py.
Whether to use syslog.
Definition at line 46 of file log.py.