Bugs item #968033, was opened at 2004-06-07 18:54
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=968033&group_id=78018
Category: pythonwin
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Aleksander Kowalczyk (thealx)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interactive window repeats each message from Logger object
Initial Comment:
Interactive window can display Logger-generated
messages (INFO, DEBUG, WARN etc).
It works correctly on the first run of the module.
But on the next run, each message is repeated twice.
On third run - repeated 3 times, and so on.
This means that after some runs of the module, You must
restart pywin32 because each logger message is repeated
many times and You cannot read anything useful. This
really pains on hard-debugging sessions.
An error occures on build 201, Windows XP.
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2004-10-09 15:58
Message:
Logged In: YES
user_id=14198
This is because Pythonwin runs your programs in-process.
The code that sets up the log handler (quite possibly inside
the logging module itself) is probably re-adding a new
handler to the same log each run. The only solution is to
have pythonwin run/debug in a new process, and this isn't
practical.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=968033&group_id=78018
|