Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.

This commit is contained in:
Vinay Sajip 2011-03-29 01:15:37 +01:00
commit f851fe9fc5
1 changed files with 14 additions and 0 deletions

View File

@ -2880,8 +2880,13 @@ 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
Takes the logging configuration from a dictionary. The contents of
this dictionary are described in :ref:`logging-config-dictschema`
below.
@ -2923,6 +2928,8 @@ 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])
@ -2955,8 +2962,13 @@ in :mod:`logging` itself) and defining handlers which are declared either in
:func:`listen`.
<<<<<<< local
.. _logging-config-dictschema:
=======
.. currentmodule:: logging
>>>>>>> other
<<<<<<< local
Configuration dictionary schema
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -3351,6 +3363,8 @@ 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