Just replace logging.basicConfig(level=logging.DEBUG)
with logging.getLogger().setLevel(logging.DEBUG) and you will no longer get messages written to the console. The basicConfig() method is meant for really basic use of logging - it allows one call to set level, and to add either a console handler a simple (non-rotating) file handler to the root logger. See the documentation for more information. Vinay Sajip -- http://mail.python.org/mailman/listinfo/python-list