Issue 23536: Add explicit information on config file format not supporting filters (original) (raw)

Issue23536

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/67724

classification

Title: Add explicit information on config file format not supporting filters
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.6, Python 2.7

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, piotr.dobrogost, python-dev, vinay.sajip
Priority: normal Keywords:

Created on 2015-02-27 12:49 by piotr.dobrogost, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg236741 - (view) Author: Piotr Dobrogost (piotr.dobrogost) Date: 2015-02-27 12:49
It would be helpful to make it clear in section "Configuration file format" that it's not possible to configure filters through configuration file as opposed to dictionary passed to dictConfig() method. I found this clearly stated in Pyramid docs at http://docs.pylonsproject.org/docs/pyramid/en/latest/narr/logging.html – "For more advanced filtering, the logging module provides a logging.Filter object; however it cannot be used directly from the configuration file."
msg241413 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-04-18 12:16
New changeset df28044b7e14 by Vinay Sajip in branch '2.7': Issue #23536: Clarified scope of fileConfig()'s API. https://hg.python.org/cpython/rev/df28044b7e14 New changeset 968c086bf6cc by Vinay Sajip in branch '3.4': Issue #23536: Clarified scope of fileConfig()'s API. https://hg.python.org/cpython/rev/968c086bf6cc New changeset 439517000aa2 by Vinay Sajip in branch 'default': Closes #23536: Clarified scope of fileConfig()'s API. https://hg.python.org/cpython/rev/439517000aa2
History
Date User Action Args
2022-04-11 14:58:13 admin set github: 67724
2015-04-18 12:16:17 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved
2015-02-27 12:49:28 piotr.dobrogost create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements