Re: Logging in Python

2009-02-10 Thread Vinay Sajip
On Feb 10, 9:38 pm, aha 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 implementat

Re: Logging in Python

2009-02-10 Thread aha
Thanks for your suggestions. I've also figured that I can test if logging.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. On Feb 10, 3:21 pm, Vinay Sajip w

Re: Logging in Python

2009-02-10 Thread Vinay Sajip
On Feb 10, 5:50 pm, aha wrote: > Hello All, > > I have an application whereloggingmay need to be configured in > multiple places. I've used the PythonLoggingFramework for sometime, > but I'm still not sure how to test iflogginghas configured. For > example, I have modules A, B, and C. > > Below

Re: Logging in Python

2009-02-10 Thread Robert Kern
On 2009-02-10 11:50, aha wrote: Hello All, I have an application where logging may need to be configured in multiple places. I've used the Python Logging Framework for sometime, but I'm still not sure how to test if logging has configured. For example, I have modules A, B, and C. Below is som