What am I missing?

I expect logger.info("hello") to emit.

$ python
Python 3.4.0 (default, Apr 18 2014, 19:16:28)
[GCC 4.8.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
>>> logger = logging.getLogger()
>>> logger.setLevel(logging.INFO)
>>> logger.info("hello")
>>> logger.warn("hello")
hello
>>>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to