Finding all loggers?

Roy Smith roy at panix.com
Thu Jun 14 17:03:01 EDT 2012


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"].


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /