Issue 11639: Documentation for *Config functions in logging module should be in logging.config (original) (raw)

Issue11639

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:15 admin set github: 55848
2011-03-29 00:24:37 vinay.sajip set status: open -> closedresolution: fixedversions: + Python 2.6
2011-03-29 00:22:40 python-dev set messages: +
2011-03-29 00:16:55 python-dev set nosy: + python-devmessages: +
2011-03-28 23:41:26 vinay.sajip set assignee: docs@python -> vinay.sajipnosy: + vinay.sajip
2011-03-22 21:47:03 santoso.wijaya set nosy:santoso.wijaya, docs@pythonversions: - Python 3.1, Python 3.2, Python 3.3
2011-03-22 21:46:09 santoso.wijaya set nosy:santoso.wijaya, docs@pythonversions: + Python 3.1, Python 3.2, Python 3.3
2011-03-22 21:45:40 santoso.wijaya create