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 amarco
Recipients amarco, ezio.melotti, r.david.murray, vinay.sajip
Date 2013-01-03.07:48:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357199338.94.0.193447497589.issue16844@psf.upfronthosting.co.za>
In-reply-to
Content
In response to msg178860.

When use the module logging and in the definition of the format string appear '%(funcName)s' the module crash.
(Extract):
File "/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py", line 724, in emit
    msg = self.format(record)
  File "/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py", line 610, in format
    return fmt.format(record)
  File "/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py", line 403, in format
    s = self._fmt % record.__dict__
KeyError: 'funcName'

The object 'record' not contain attribute 'funcName' and line 403 (s = self._fmt % record.__dict__) crash.
History
Date User Action Args
2013-01-03 07:48:58amarcosetrecipients: + amarco, vinay.sajip, ezio.melotti, r.david.murray
2013-01-03 07:48:58amarcosetmessageid: <1357199338.94.0.193447497589.issue16844@psf.upfronthosting.co.za>
2013-01-03 07:48:58amarcolinkissue16844 messages
2013-01-03 07:48:58amarcocreate