Message72134
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 |
|
Date |
User |
Action |
Args |
2008-08-29 13:44:43 | wcmaier | set | recipients:
+ wcmaier |
2008-08-29 13:44:43 | wcmaier | set | messageid: <1220017483.8.0.409780209991.issue3726@psf.upfronthosting.co.za> |
2008-08-29 13:44:43 | wcmaier | link | issue3726 messages |
2008-08-29 13:44:42 | wcmaier | create | |
|