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 serhiy.storchaka
Recipients markb, python-dev, serhiy.storchaka, vinay.sajip
Date 2017-01-11.10:07:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484129226.7.0.984886247085.issue29220@psf.upfronthosting.co.za>
In-reply-to
Content
> Historically, getLevelName() gets the name for a level *but also the level for a name*

Ah, then getLevelName() was broken by issue27937.

>>> logging.getLevelName('NOTSET')
'Level NOTSET'

The fix should be applied to 3.5.
History
Date User Action Args
2017-01-11 10:07:06serhiy.storchakasetrecipients: + serhiy.storchaka, vinay.sajip, markb, python-dev
2017-01-11 10:07:06serhiy.storchakasetmessageid: <1484129226.7.0.984886247085.issue29220@psf.upfronthosting.co.za>
2017-01-11 10:07:06serhiy.storchakalinkissue29220 messages
2017-01-11 10:07:06serhiy.storchakacreate