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.

classification
Title: logger.config problems with comma separated lists
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: vinay.sajip Nosy List: cuppatea, georg.brandl, vinay.sajip, zseil
Priority: normal Keywords:

Created on 2006-06-09 23:04 by cuppatea, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
config.py cuppatea, 2006-06-09 23:04 config.py file containing fix for comma separated args
config.py.diff georg.brandl, 2006-06-14 06:20 diff instead of full changed file
Messages (4)
msg28758 - (view) Author: cuppatea (cuppatea) Date: 2006-06-09 23:04
Hello,
I have noticed a problem when trying to use the config
files. If my config file contains a comma separated list,
eg:

[logger_root]
level=DEBUG
handlers= h1, h2

Then the logger throws up an error when reading in the
config file as the space is included as part of the
handler name. I've included a fix for this in the
attached config.py file.

Please feel free to use it.

Hope this helps,
adil
msg28759 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-06-14 06:20
Logged In: YES 
user_id=849994

Attaching a real patch and assigning to Vinay.
msg28760 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2006-12-11 14:42
Applied a modified version of this patch to SVN - trunk and release24-maint.
msg28761 - (view) Author: Ziga Seilnacht (zseil) * (Python committer) Date: 2006-12-13 23:21
Shouldn't this patch and patch #1609407 also go to the release25-maint branch?
History
Date User Action Args
2022-04-11 14:56:18adminsetgithub: 43480
2006-06-09 23:04:16cuppateacreate