Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +vinay.sajip
priority: - normal
stage: - patch review
type: behavior - feature request
versions: -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7869
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Fix (slightly modified version of patch) checked into trunk (r78081), thanks
Inada Naoki!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from INADA Naoki songofaca...@gmail.com:
When exception raised in logging, traceback is shown but it doesn't tell
me which logging code cause the error.
$ cat unusable_traceback.py
import logging
logging.warn('%s %s', 1) # not enough arguments.
$ python unusable_traceback.py
INADA Naoki songofaca...@gmail.com added the comment:
This patch shows filename and lineno.
I can specify my wrong logging code with this patch.
--
keywords: +patch
Added file: http://bugs.python.org/file16164/logging_show_file_and_line.patch
___