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.

Author wcmaier
Recipients wcmaier
Date 2008-08-29.13:44:41
SpamBayes Score 2.6891016e-07
Marked as misclassified No
Message-id <1220017483.8.0.409780209991.issue3726@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, logging.config.fileConfig() inconsistently handles lines like:

[handlers]
keys = spam, eggs

[formatters]
keys = foo, bar

It does, however, correctly handle the ', ' delimiter in the [loggers]
section. This is because the various _install_*() functions in
logging.config aren't consistent about whether (and when) or not they
strip whitespace when generating key names.

Though the stdlib documentation only includes examples in the [handlers]
and [formatters] section with ',' delimiters, it seems reasonable to
expect that logging.config.fileConfig() should handle ', '. The attached
test demonstrates the failure and suggests a solution.

Thanks!
whitespace
History
Date User Action Args
2008-08-29 13:44:43wcmaiersetrecipients: + wcmaier
2008-08-29 13:44:43wcmaiersetmessageid: <1220017483.8.0.409780209991.issue3726@psf.upfronthosting.co.za>
2008-08-29 13:44:43wcmaierlinkissue3726 messages
2008-08-29 13:44:42wcmaiercreate