Hi,<br>From the python 2.6.4 tutorial, refer to <br><a href="http://docs.python.org/release/2.6.4/tutorial/stdlib2.html#logging">http://docs.python.org/release/2.6.4/tutorial/stdlib2.html#logging</a><br><br>The above example doesn't work for me.<br>
Here is script log<br><br>#############################################<br><br>oem@oem-desktop ~ $ python -V<br>Python 2.6.4<br>oem@oem-desktop ~ $ python<br>Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) <br>[GCC 4.4.1] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>>>> import logging<br>>>> logging.debug('debug information')<br>Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br>AttributeError: 'module' object has no attribute 'debug'<br><br>################################################<br><br>I am current using python2.6.4.<br>
<br>Can anyone point out what's problem?<br>Thanks,<br>