logging.config
¶
Configuration functions 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.
Copyright (C) 2001-2014 Vinay Sajip. All Rights Reserved.
To use, simply ‘import logging’ and log away!
Functions¶
dictConfig (config) |
Configure logging using a dictionary. |
fileConfig (fname[, defaults, ...]) |
Read the logging configuration from a ConfigParser-format file. |
listen ([port]) |
Start up a socket server on the specified port, and listen for new configurations. |
stopListening () |
Stop the listening server which was created with a call to listen(). |
valid_ident (s) |
Classes¶
BaseConfigurator (config) |
The configurator base class which defines some useful defaults. |
ConvertingDict |
A converting dictionary wrapper. |
ConvertingList |
A converting list wrapper. |
ConvertingMixin |
For ConvertingXXX’s, this mixin class provides common functions |
ConvertingTuple |
A converting tuple wrapper. |
DictConfigurator (config) |
Configure logging using a dictionary-like object to describe the configuration. |
StreamRequestHandler (request, ...) |
Define self.rfile and self.wfile for stream sockets. |
ThreadingTCPServer (server_address, ...[, ...]) |
|
dictConfigClass |
alias of DictConfigurator |