I have average experience with python, btw I just installed eclipse and pydev on top of it. And itβs strange that the behavior of the registration module looks strange.
import datetime import logging print datetime.date.today() print logging logging.info("test") print logging.info("test2") -------- OUTPUT:: -------- 2012-10-25 <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'> None
Any clue why logging.info is not working?
btw is not sure if this is related, but immediately after installing pydev, import registration itself did not work. Then I checked the configuration of the python interpreter, and the registration module was not there in the list of forced built-in functions (Windows-> preference-> Pydev-> Interpreter (python) β Forced Builtins). So I added that manually for import logging. Thanks in advance for any pointers.
source share