This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Documentation for *Config functions in logging module should be in logging.config
Type: Stage:
Components: Documentation Versions: Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: vinay.sajip Nosy List: docs@python, python-dev, santoso.wijaya, vinay.sajip
Priority: normal Keywords:

Created on 2011-03-22 21:45 by santoso.wijaya, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg131791 - (view) Author: Santoso Wijaya (santoso.wijaya) * Date: 2011-03-22 21:45
For example, the function `fileConfig` is listed in the documentation [1] as `logging.fileConfig`. This was a surprise for me when trying it gave me an AttributeError. Only after reading the source code that I found out this function is defined in the `logging.config` module, and must be referenced as such.

[1] http://docs.python.org/library/logging.html#logging.fileConfig
msg132447 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-03-29 00:16
New changeset bfa2a8d91859 by Vinay Sajip in branch '2.6':
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.
http://hg.python.org/cpython/rev/bfa2a8d91859

New changeset f494339674e7 by Vinay Sajip in branch '2.7':
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.
http://hg.python.org/cpython/rev/f494339674e7
msg132449 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-03-29 00:22
New changeset 1a5aab273332 by Vinay Sajip in branch '2.7':
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.
http://hg.python.org/cpython/rev/1a5aab273332
History
Date User Action Args
2022-04-11 14:57:15adminsetgithub: 55848
2011-03-29 00:24:37vinay.sajipsetstatus: open -> closed
resolution: fixed
versions: + Python 2.6
2011-03-29 00:22:40python-devsetmessages: + msg132449
2011-03-29 00:16:55python-devsetnosy: + python-dev
messages: + msg132447
2011-03-28 23:41:26vinay.sajipsetassignee: docs@python -> vinay.sajip

nosy: + vinay.sajip
2011-03-22 21:47:03santoso.wijayasetnosy: santoso.wijaya, docs@python
versions: - Python 3.1, Python 3.2, Python 3.3
2011-03-22 21:46:09santoso.wijayasetnosy: santoso.wijaya, docs@python
versions: + Python 3.1, Python 3.2, Python 3.3
2011-03-22 21:45:40santoso.wijayacreate