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 vinay.sajip
Recipients
Date 2006-09-20.13:47:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=308438

Yes, that's the way it's supposed to work - the map works
both ways, allowing the mapping of names to levels as well
as levels to names. This is because both types of mapping
are needed in the package, and it makes sense to reuse the 
dictionary rather than have two separate dictionaries.

In your example, you are calling setLevel with a string
argument [newLoglevel.upper ()], which is incorrect.

I will clarify the setLevel() documentation to point out
that the level passed to setLevel() is an integer.
History
Date User Action Args
2007-08-23 14:25:06adminlinkissue1008295 messages
2007-08-23 14:25:06admincreate