Re: logging from several independent classes

2009-10-29 Thread Sandy
All named loggers (including A, B etc.) inherit from the root logger, obtained by doing root_logger = logging.getLogger() or root_logger = logging.getLogger() Somehow I missed this in the docs. Thanks Vinay. -- http://mail.python.org/mailman/listinfo/python-list

logging from several independent classes

2009-10-28 Thread Sandy
Hi all, I was going through the last example in logging docs: http://docs.python.org/library/logging.html#using-logging-in-multiple-modules It explains how to log from multiple classes. The example works fine as long as the logger names are in a heirarchy (spam_application.auxiliary.Auxiliary,

Re: logging from several independent classes

2009-10-28 Thread Vinay Sajip
Sandy dksreddy at gmail.com writes: Hi all, I was going through the last example in logging docs: http://docs.python.org/library/logging.html#using-logging-in-multiple-modules It explains how to log from multiple classes. The example works fine The documentation you pointed to is about