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 2015-04-18 12:16 by python-dev. 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
2015-04-18 12:16:17python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg241413

resolution: fixed
stage: resolved
2015-02-27 12:49:28piotr.dobrogostcreate