[ python-Bugs-1652788 ] logging formatter %(lineno)d does not work

SourceForge.net noreply at sourceforge.net
Fri Feb 16 23:45:54 CET 2007


Bugs item #1652788, was opened at 2007-02-05 23:42
Message generated for change (Comment added) made by vsajip
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1652788&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: lx_jakal (alex_petry)
Assigned to: Nobody/Anonymous (nobody)
Summary: logging formatter %(lineno)d does not work

Initial Comment:
The current line number produced by the module is "1072" which is static over all logging calls. It refers to a the denoted line in logging/__init__.py

A possible patch is attached.


----------------------------------------------------------------------

>Comment By: Vinay Sajip (vsajip)
Date: 2007-02-16 22:45

Message:
Logged In: YES 
user_id=308438
Originator: NO

Change checked into trunk, and will be shortly checked into
release25-maint and release24-maint.

----------------------------------------------------------------------

Comment By: lx_jakal (alex_petry)
Date: 2007-02-06 01:07

Message:
Logged In: YES 
user_id=1033478
Originator: YES

File Added: python-logging-2.5-fixed.patch

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1652788&group_id=5470


More information about the Python-bugs-list mailing list