zeromq/pyzmq — Issue #186: Standard logging module failed when importing zmq
Author: chappet
Created: 2012-03-02 11:30:15+00:00
State: open

Hi,

I Use pyzmq 2.1.11 and Python 2.6.6 on XP.
It seems as if that the import of zmq disable the logging module.

With the code:
''
import logging
if __name__ == "__main__":
logging.basicConfig(level=logging.INFO)
logging.info('main')
''

I got:
INFO:root:main

With the code:
''
import logging
import zmq

if __name__ == "__main__":
logging.basicConfig(level=logging.INFO)
logging.info('main')
print zmq.__version__
''

I got:
2.1.11

what's wrong ?

Regards,
Christophe