| Store | Cart

Finding all loggers?

From: Roy Smith <r...@panix.com>
14 Jun 2012 17:03:01 -0400
Is there any way to get a list of all the loggers that have been
defined?  So if somebody has done:

from logging import getLogger
getLogger("foo")
getLogger("foo.bar")
getLogger("baz")

I want something which will give me back ["foo", "foo.bar", "baz"].
-- 
http://mail.python.org/mailman/listinfo/python-list

Recent Messages in this Thread
Roy Smith Jun 14, 2012 09:03 pm
Michael Hrivnak Jun 14, 2012 09:38 pm
Roy Smith Jun 14, 2012 10:57 pm
Messages in this thread