PyDocs

Generic Operating System Services

logging.handlers

Additional handlers for the logging package for Python. The core package is
based on PEP 282 and comments thereto in comp.lang.python.

Copyright (C) 2001-2021 Vinay Sajip. All Rights Reserved.

To use, simply 'import logging.handlers' and log away!
Symbols in logging.handlers

b

BaseRotatingHandler
Base class for handlers that rotate log files at a certain point.
BufferingHandler
A handler class which buffers logging records in memory.

d

DatagramHandler
A handler class which writes logging records, in pickle format, to a datagram socket.

h

HTTPHandler
A class which sends records to a web server, using either GET or POST semantics.

m

MemoryHandler
A handler class which buffers logging records in memory, periodically flushing them to a target handler.

n

NTEventLogHandler
A handler class which sends events to the NT Event Log.

q

QueueHandler
This handler sends events to a queue.
QueueListener
This class implements an internal threaded listener which watches for LogRecords being added to a queue, removes them and passes them to a list of handlers for processing.

r

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.

s

SMTPHandler
A handler class which sends an SMTP email for each logging event.
SocketHandler
A handler class which writes logging records, in pickle format, to a streaming socket.
SysLogHandler
A handler class which sends formatted logging records to a syslog server.

t

TimedRotatingFileHandler
Handler for logging to a file, rotating the log file at certain timed intervals.

w

WatchedFileHandler
A handler for logging to a file, which watches the file to see if it has changed while in use.