Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19344
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!amsnews11.chello.com!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <RDRichardson@rad-con.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'debug': 0.03; 'python': 0.08; 'scripts': 0.09; 'package.': 0.12; 'much!': 0.15; 'to:name :python-list@python.org': 0.15; 'debugger,': 0.16; 'pythonwin': 0.16; 'richardson': 0.16; 'subject:global': 0.16; 'subject:logging': 0.16; 'times,': 0.24; 'script': 0.28; 'script.': 0.28; 'seem': 0.29; 'objects': 0.32; 'it.': 0.33; 'message.': 0.33; 'to:addr:python-list': 0.33; 'object': 0.33; 'thank': 0.35; 'running': 0.35; 'file': 0.35; 'charset:us-ascii': 0.36; 'run': 0.37; 'to:addr:python.org': 0.40; 'more': 0.61; 'our': 0.64; 'received:12': 0.66; 'subject:long': 0.93 |
| From | Rob Richardson <RDRichardson@rad-con.com> |
| To | "python-list@python.org" <python-list@python.org> |
| Subject | PythonWin debugger holds onto global logging objects too long |
| Thread-Topic | PythonWin debugger holds onto global logging objects too long |
| Thread-Index | Aczap7VPH4n96lRRQMqxxNAcZcG6jg== |
| Date | Tue, 24 Jan 2012 14:52:55 +0000 |
| Accept-Language | en-US |
| Content-Language | en-US |
| x-originating-ip | [192.168.170.112] |
| Content-Type | text/plain; charset="us-ascii" |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5026.1327416731.27778.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1327416731 news.xs4all.nl 6959 [2001:888:2000:d::a6]:35239 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:19344 |
Show key headers only | View raw
I use PythonWin to debug the Python scripts we write. Our scripts often use the log2py logging package. When running the scripts inside the debugger, we seem to get one logging object for every time we run the script. The result is that after running the script five times, the log file contains five copies of every message. The only way I know to clean this up and get only a single copy of each message is to close PythonWin and restart it. What do I have to do in my scripts to clean up the logging objects so that I never get more than one copy of each message in my log files? Thank you very much! Rob Richardson
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
PythonWin debugger holds onto global logging objects too long Rob Richardson <RDRichardson@rad-con.com> - 2012-01-24 14:52 +0000
Re: PythonWin debugger holds onto global logging objects too long Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-02-04 09:09 -0800
Re: PythonWin debugger holds onto global logging objects too long Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-02-07 11:48 +0100
Re: PythonWin debugger holds onto global logging objects too long Mark Hammond <skippy.hammond@gmail.com> - 2012-02-08 10:04 +1100
csiph-web