2011/5/18 Rafael Durán Castañeda <rafadurancastan...@gmail.com>:
> Are you using python 2.x or 3.x? At python 2.7 using:
>
> import logging
> logging.getLogger('log').warning('test')
>
> I got:
>
> No handlers could be found for logger "log"

Ah, that's it.  I was using Python 2.5.  Using 2.7 I get the same
result that you do.

Still, it's a surprising change that doesn't seem to be documented as
such.  I'm not sure whether it's a regression or an intentional
change.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to