Closed ccorbacho closed 10 years ago
The logger expects a NullHandler instance, not a class. Otherwise, if you run this in an environment without a logger already set up, it raises an AttributeError as 'level' is defined on the instance, not the class.
Thank you, I'm surprised I didn't catch this before.
The logger expects a NullHandler instance, not a class. Otherwise, if you run this in an environment without a logger already set up, it raises an AttributeError as 'level' is defined on the instance, not the class.