diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-03-29 00:21:48 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-03-29 00:21:48 (GMT) |
commit | 3c599bdbd1d7fd3436fff47d1338593dff3e58a2 (patch) | |
tree | d69a103d0e4425a084c1cfaedea11bfdda2cb0ae /Doc/library/logging.rst | |
parent | f851fe9fc5a6815582281931d9a02a497b0b11d6 (diff) | |
download | cpython-3c599bdbd1d7fd3436fff47d1338593dff3e58a2.zip cpython-3c599bdbd1d7fd3436fff47d1338593dff3e58a2.tar.gz cpython-3c599bdbd1d7fd3436fff47d1338593dff3e58a2.tar.bz2 |
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.
Diffstat (limited to 'Doc/library/logging.rst')
-rw-r--r-- | Doc/library/logging.rst | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 6b6c7ea..4feae2d 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -2880,13 +2880,10 @@ logging module using these functions or by making calls to the main API (defined in :mod:`logging` itself) and defining handlers which are declared either in :mod:`logging` or :mod:`logging.handlers`. -<<<<<<< local -.. function:: dictConfig(config) -======= .. currentmodule:: logging.config ->>>>>>> other -<<<<<<< local +.. function:: dictConfig(config) + Takes the logging configuration from a dictionary. The contents of this dictionary are described in :ref:`logging-config-dictschema` below. @@ -2928,8 +2925,6 @@ in :mod:`logging` itself) and defining handlers which are declared either in in the default, uncustomized state. .. versionadded:: 2.7 -======= ->>>>>>> other .. function:: fileConfig(fname[, defaults]) @@ -2961,14 +2956,10 @@ in :mod:`logging` itself) and defining handlers which are declared either in This is typically called before calling :meth:`join` on the return value from :func:`listen`. +.. currentmodule:: logging -<<<<<<< local .. _logging-config-dictschema: -======= -.. currentmodule:: logging ->>>>>>> other -<<<<<<< local Configuration dictionary schema ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -3363,8 +3354,6 @@ the system will attempt to retrieve the value from to ``config_dict['handlers']['myhandler']['mykey']['123']`` if that fails. -======= ->>>>>>> other .. _logging-config-fileformat: Configuration file format |