Trees | Indices | Help |
|
---|
|
Additional handlers for the logging package for Python. The core package is based on PEP 282 and comments thereto in comp.lang.python, and influenced by Apache's log4j system.
Should work under Python versions >= 1.5.2, except that source line information is not available unless 'sys._getframe()' is.
Copyright (C) 2001-2004 Vinay Sajip. All Rights Reserved.
To use, simply 'import logging' and log away!
|
|||
BaseRotatingHandler Base class for handlers that rotate log files at a certain point. |
|||
RotatingFileHandler Handler for logging to a set of files, which switches from one file to the next when the current file reaches a certain size. |
|||
TimedRotatingFileHandler Handler for logging to a file, rotating the log file at certain timed intervals. |
|||
SocketHandler A handler class which writes logging records, in pickle format, to a streaming socket. |
|||
DatagramHandler A handler class which writes logging records, in pickle format, to a datagram socket. |
|||
SysLogHandler A handler class which sends formatted logging records to a syslog server. |
|||
SMTPHandler A handler class which sends an SMTP email for each logging event. |
|||
NTEventLogHandler A handler class which sends events to the NT Event Log. |
|||
HTTPHandler A class which sends records to a Web server, using either GET or POST semantics. |
|||
BufferingHandler A handler class which buffers logging records in memory. |
|||
MemoryHandler A handler class which buffers logging records in memory, periodically flushing them to a target handler. |
|
|||
DEFAULT_TCP_LOGGING_PORT = 9020
|
|||
DEFAULT_UDP_LOGGING_PORT = 9021
|
|||
DEFAULT_HTTP_LOGGING_PORT = 9022
|
|||
DEFAULT_SOAP_LOGGING_PORT = 9023
|
|||
SYSLOG_UDP_PORT = 514
|
|||
_MIDNIGHT = 86400
|
Imports: sys, logging, socket, types, os, string, cPickle, struct, time, glob, codecs
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 13 23:36:06 2008 | http://epydoc.sourceforge.net |