Home | History | Annotate | Download | only in logging

Lines Matching full:logging

18 Additional handlers for the logging package for Python. The core package is
23 To use, simply 'import logging.handlers' and log away!
26 import errno, logging, socket, os, cPickle, struct, time, re
52 class BaseRotatingHandler(logging.FileHandler):
60 Use the specified filename for streamed logging
64 logging.FileHandler.__init__(self, filename, mode, encoding, delay)
78 logging.FileHandler.emit(self, record)
86 Handler for logging to a set of files, which switches from one file
91 Open the specified file and use it as the stream for logging.
162 Handler for logging to a file, rotating the log file at certain timed
371 class WatchedFileHandler(logging.FileHandler):
373 A handler for logging to a file, which watches the file
383 under Windows open files cannot be moved or renamed - logging
392 logging.FileHandler.__init__(self, filename, mode, encoding, delay)
430 logging.FileHandler.emit(self, record)
432 class SocketHandler(logging.Handler):
434 A handler class which writes logging records, in pickle format, to
435 a streaming socket. The socket is kept open across logging calls.
438 (__dict__), so that the receiver does not need to have the logging module
439 installed in order to process the logging event.
451 reopened on the next logging call.
453 logging.Handler.__init__(self)
556 Handle an error during logging.
558 An error has occurred during logging. Most likely cause -
566 logging.Handler.handleError(self, record)
596 logging.Handler.close(self)
600 A handler class which writes logging records, in pickle format, to
603 have the logging module installed in order to process the logging event.
636 class SysLogHandler(logging.Handler):
638 A handler class which sends formatted logging records to a syslog
752 logging.Handler.__init__(self)
824 logging.Handler.close(self)
828 Map a logging level name to a key in the priority_names map.
831 mapping by lowercasing the logging level name because of locale-
870 class SMTPHandler(logging.Handler):
872 A handler class which sends an SMTP email for each logging event.
890 logging.Handler.__init__(self)
948 class NTEventLogHandler(logging.Handler):
959 logging.Handler.__init__(self)
973 logging.DEBUG : win32evtlog.EVENTLOG_INFORMATION_TYPE,
974 logging.INFO : win32evtlog.EVENTLOG_INFORMATION_TYPE,
975 logging.WARNING : win32evtlog.EVENTLOG_WARNING_TYPE,
976 logging.ERROR : win32evtlog.EVENTLOG_ERROR_TYPE,
977 logging.CRITICAL: win32evtlog.EVENTLOG_ERROR_TYPE,
981 "logging) appear not to be available.")
1046 logging.Handler.close(self)
1048 class HTTPHandler(logging.Handler):
1058 logging.Handler.__init__(self)
1110 class BufferingHandler(logging.Handler):
1112 A handler class which buffers logging records in memory. Whenever each
1120 logging.Handler.__init__(self)
1163 logging.Handler.close(self)
1167 A handler class which buffers logging records in memory, periodically
1171 def __init__(self, capacity, flushLevel=logging.ERROR, target=None):