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