logging: AttributeError: 'module' object has no attribute 'getLogger'

Frank GOENNINGER dg1sbg at googlemail.com
Mon May 24 05:55:46 EDT 2010


Simon Brunning <simon at brunningonline.net> writes:

> On 23 May 2010 14:46, Frank GOENNINGER <dg1sbg at googlemail.com> wrote:
>> Traceback (most recent call last):
>>  File "/.../src/pib/logging.py", line 37, in <module>
>>    main()
>
> Here's a clue - looks like your own module is called logging. That's
> what's getting imported by your import. Try naming your module
> something else, and you should be golden.

Yep. That was it. Thanks !!

Cheers
  Frank



More information about the Python-list mailing list