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 alex
Recipients alex, cboylan
Date 2014-09-11.01:12:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410397954.61.0.8233042716.issue22386@psf.upfronthosting.co.za>
In-reply-to
Content
I believe something like the following diff restores the previous behavior (untested!):

diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index a61c2b0..4a8f83e 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -129,7 +129,7 @@ def getLevelName(level):

     Otherwise, the string "Level %s" % level is returned.
     """
-    return _levelToName.get(level, ("Level %s" % level))
+    return _levelToName.get(level, _nameToLevel.get(level, ("Level %s" % level)))

 def addLevelName(level, levelName):
     """
History
Date User Action Args
2014-09-11 01:12:34alexsetrecipients: + alex, cboylan
2014-09-11 01:12:34alexsetmessageid: <1410397954.61.0.8233042716.issue22386@psf.upfronthosting.co.za>
2014-09-11 01:12:34alexlinkissue22386 messages
2014-09-11 01:12:34alexcreate