FYI.<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Cameron Simpson</b> <span dir="ltr"><<a href="mailto:cs@zip.com.au">cs@zip.com.au</a>></span><br>Date: Wed, May 19, 2010 at 6:18 PM<br>
Subject: Re: question on logging module<br>To: frank zhu <<a href="mailto:frank.zhu.mingyu@gmail.com">frank.zhu.mingyu@gmail.com</a>><br><br><br><div class="im">On 19May2010 11:55, frank zhu <<a href="mailto:frank.zhu.mingyu@gmail.com">frank.zhu.mingyu@gmail.com</a>> wrote:<br>

| Thanks Cameron. That was the problem. I copied the sample code and named it<br>
| logging.py. which was bad.<br>
<br>
</div>You might want to post this info to the list to save follow-on<br>
discussion.<br>
<br>
One way to check that what you want actually happened is like this:<br>
<br>
  [/Users/cameron]g4*> python<br>
  Python 2.6.5 (r265:79063, May 17 2010, 14:44:07)<br>
  [GCC 4.0.1 (Apple Inc. build 5493)] on darwin<br>
<div class="im">  Type "help", "copyright", "credits" or "license" for more information.<br>
  >>> import logging<br>
</div>  >>> sorted(logging.__dict__.keys())<br>
<br>
which will report the names in what you imported.<br>
<div><div></div><div class="h5"><br>
Cheers,<br>
--<br>
Cameron Simpson <<a href="mailto:cs@zip.com.au">cs@zip.com.au</a>> DoD#743<br>
<a href="http://www.cskk.ezoshosting.com/cs/" target="_blank">http://www.cskk.ezoshosting.com/cs/</a><br>
</div></div></div><br>