> 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
Sandy 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 loggin
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, spa