python logging
Ian Kelly
ian.g.kelly at gmail.com
Wed May 18 18:10:20 EDT 2011
2011/5/18 Rafael Durán Castañeda <rafadurancastaneda at gmail.com>:
> I think you are confuse because of you are looking at advanced logging,
> where getLogger is being used. Simple logging works without any
> configuration, getLogger doesn't.
It seems to work without any configuration just as well as the root logger:
>>> import logging
>>> logging.getLogger('foo').warning('test')
WARNING:foo:test
Or am I misunderstanding you?
More information about the Python-list
mailing list