Lines Matching refs: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 io, logging, socket, os, pickle, struct, time, re
45 class BaseRotatingHandler(logging.FileHandler):
56 Use the specified filename for streamed logging
58 logging.FileHandler.__init__(self, filename, mode=mode,
75 logging.FileHandler.emit(self, record)
121 Handler for logging to a set of files, which switches from one file
127 Open the specified file and use it as the stream for logging.
204 Handler for logging to a file, rotating the log file at certain timed
455 class WatchedFileHandler(logging.FileHandler):
457 A handler for logging to a file, which watches the file
467 under Windows open files cannot be moved or renamed - logging
479 logging.FileHandler.__init__(self, filename, mode=mode,
526 logging.FileHandler.emit(self, record)
529 class SocketHandler(logging.Handler):
531 A handler class which writes logging records, in pickle format, to
532 a streaming socket. The socket is kept open across logging calls.
535 (__dict__), so that the receiver does not need to have the logging module
536 installed in order to process the logging event.
548 logging call.
550 logging.Handler.__init__(self)
655 Handle an error during logging.
657 An error has occurred during logging. Most likely cause -
665 logging.Handler.handleError(self, record)
692 logging.Handler.close(self)
698 A handler class which writes logging records, in pickle format, to
701 have the logging module installed in order to process the logging event.
738 class SysLogHandler(logging.Handler):
740 A handler class which sends formatted logging records to a syslog
861 logging.Handler.__init__(self)
908 # Moreover, we ignore these errors while logging, so it's not worse
962 logging.Handler.close(self)
968 Map a logging level name to a key in the priority_names map.
971 mapping by lowercasing the logging level name because of locale-
1019 class SMTPHandler(logging.Handler):
1021 A handler class which sends an SMTP email for each logging event.
1041 logging.Handler.__init__(self)
1099 class NTEventLogHandler(logging.Handler):
1110 logging.Handler.__init__(self)
1133 logging.DEBUG : win32evtlog.EVENTLOG_INFORMATION_TYPE,
1134 logging.INFO : win32evtlog.EVENTLOG_INFORMATION_TYPE,
1135 logging.WARNING : win32evtlog.EVENTLOG_WARNING_TYPE,
1136 logging.ERROR : win32evtlog.EVENTLOG_ERROR_TYPE,
1137 logging.CRITICAL: win32evtlog.EVENTLOG_ERROR_TYPE,
1141 "logging) appear not to be available.")
1204 logging.Handler.close(self)
1206 class HTTPHandler(logging.Handler):
1217 logging.Handler.__init__(self)
1296 class BufferingHandler(logging.Handler):
1298 A handler class which buffers logging records in memory. Whenever each
1306 logging.Handler.__init__(self)
1351 logging.Handler.close(self)
1355 A handler class which buffers logging records in memory, periodically
1359 def __init__(self, capacity, flushLevel=logging.ERROR, target=None,
1430 class QueueHandler(logging.Handler):
1433 with a multiprocessing Queue to centralise logging to file in one process
1445 logging.Handler.__init__(self)