Logging in Python

Vinay Sajip vinay_sajip at yahoo.co.uk
Tue Feb 10 17:21:03 EST 2009


On Feb 10, 9:38 pm, aha <aquil.abdul... at gmail.com> wrote:
> Thanks for your suggestions.  I've also figured that I can test iflogging.RootLogger.manager.loggerDict has any items in it.  Or if it
> has a logger for the module that I wish to start.  I like basicLogger
> idea though as it seems like the cleanest implementation.
>

It's best not to dig into the implementation details, as these might
change across versions of Python. Any of the suggestions that Robert
and I made should be able to solve your problem in the right way.

Best regards,

Vinay Sajip



More information about the Python-list mailing list