- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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.
Created on 2008-08-29 13:44 by wcmaier, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Files | |||
|---|---|---|---|
| File name | Uploaded | Description | Edit |
| logging.diff | wcmaier, 2008-08-29 13:44 |
| Messages (2) | ||
|---|---|---|
| msg72134 - (view) | Author: Will Maier (wcmaier) | Date: 2008-08-29 13:44 |
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 |
||
| msg72381 - (view) | Author: Vinay Sajip (vinay.sajip) * ![]() |
Date: 2008-09-03 09:21 |
Fix checked into trunk (slightly modified version of patch). |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:38 | admin | set | github: 47976 |
| 2019-07-20 16:43:08 | terry.reedy | set | pull_requests: - pull_request14658 |
| 2019-07-20 16:35:34 | nsiregar | set | pull_requests: + pull_request14658 |
| 2008-09-03 09:21:01 | vinay.sajip | set | status: open -> closed resolution: fixed messages: + msg72381 |
| 2008-09-01 17:47:44 | vinay.sajip | set | assignee: vinay.sajip nosy: + vinay.sajip |
| 2008-08-29 13:44:43 | wcmaier | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements

