webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Functions | |
def | fileConfig (fname, defaults=None) |
def | listen (port=DEFAULT_LOGGING_CONFIG_PORT) |
def | stopListening () |
Variables | |
DEFAULT_LOGGING_CONFIG_PORT | |
RESET_ERROR | |
abort | |
timeout | |
def planet.compat_logging.config.fileConfig | ( | fname, | |
defaults = None |
|||
) |
Read the logging configuration from a ConfigParser-format file. This can be called several times from an application, allowing an end user the ability to select from various pre-canned configurations (if the developer provides a mechanism to present the choices and load the chosen configuration). In versions of ConfigParser which have the readfp method [typically shipped in 2.x versions of Python], you can pass in a file-like object rather than a filename, in which case the file-like object will be read using readfp.
def planet.compat_logging.config.listen | ( | port = DEFAULT_LOGGING_CONFIG_PORT | ) |
Start up a socket server on the specified port, and listen for new configurations. These will be sent as a file suitable for processing by fileConfig(). Returns a Thread object on which you can call start() to start the server, and which you can join() when appropriate. To stop the server, call stopListening().
def planet.compat_logging.config.stopListening | ( | ) |
Stop the listening server which was created with a call to listen().
planet.compat_logging.config.abort |
planet.compat_logging.config.DEFAULT_LOGGING_CONFIG_PORT |
planet.compat_logging.config.RESET_ERROR |
planet.compat_logging.config.timeout |