[ python-Bugs-1605110 ] logging %(module)s reporting wrong modules

SourceForge.net noreply at sourceforge.net
Wed Nov 29 23:28:08 CET 2006


Bugs item #1605110, was opened at 2006-11-29 01:29
Message generated for change (Settings changed) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1605110&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mad-Marty (mad-marty)
>Assigned to: Vinay Sajip (vsajip)
Summary: logging %(module)s reporting wrong modules

Initial Comment:
I recently upgraded from python 2.4.2 to 2.4.4 
and the logging seems to be working wrong now.

I have a formatter which uses the %(module)s and %(filename)s and the point to the wrong file/module.


I have some plugins in .py files, which mainly have one class derived from threading.Thread.

Those classes logging calls will now log as 

2006-11-29 10:17:50 - threading.py - threading - INFO - ...

instead of

2006-11-29 10:17:50 - myplugin.py - myplugin - INFO - ...



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

Comment By: Mad-Marty (mad-marty)
Date: 2006-11-29 04:02

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

Checked again and found that the bug was introduced with Python 2.4.2.
Last correctly working version is python-2.4.1.msi.

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

Comment By: Mad-Marty (mad-marty)
Date: 2006-11-29 01:32

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

Forgot to add, that is is the 2.4.4 windows package used on windows xp.
;-)

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

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


More information about the Python-bugs-list mailing list