summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin/plugin.py
diff options
context:
space:
mode:
authorDavanum Srinivas <dims@linux.vnet.ibm.com>2013-04-04 12:37:17 -0400
committerGerrit Code Review <review@openstack.org>2013-04-09 23:51:30 +0000
commit465e27158725b6b262e251247bc60edaeda2f54d (patch)
treeba566f5e248c7bf88b9900b379319e3a957e9a47 /openstack/common/plugin/plugin.py
parent9dcf688ea80f52cdb5413514198b2aa81d5a4e09 (diff)
downloadoslo-465e27158725b6b262e251247bc60edaeda2f54d.tar.gz
oslo-465e27158725b6b262e251247bc60edaeda2f54d.tar.xz
oslo-465e27158725b6b262e251247bc60edaeda2f54d.zip
Support for lazily instantiated loggers
As part of code review for LP #1161031, there was a suggestion to lazily instantiate the logger in oslo. The use case was when creating LOG at a module level when we have not yet called logging.setup, we needed a way to delay creating actual loggers Added a handlers property in ContextAdapter so the existing testcase can be used for lazy loggers as well Change-Id: Iae2e379f8a0d2d38836645e7648294dee97deaaa
Diffstat (limited to 'openstack/common/plugin/plugin.py')
0 files changed, 0 insertions, 0 deletions