Don't use a different thread local store to oslo.log
Context logging does not work if we don't do it in a way that
oslo.log can pick up the context.
- Use the thread local storage from the base RequestContext class.
- Use the helper method context.get_current() as appropriate
- Update the custom_backend_auth.
- Remove heat/openstack/common/local.py as it is now not used.
Reviewed: https:/ /review. openstack. org/167070 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=5eea2226e08 905cf1e4064caee f12da2ebef9c61
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5eea2226e08905c f1e4064caeef12d a2ebef9c61
Author: Angus Salkeld <email address hidden>
Date: Tue Mar 24 11:28:31 2015 +1000
Don't use a different thread local store to oslo.log
Context logging does not work if we don't do it in a way that
oslo.log can pick up the context.
- Use the thread local storage from the base RequestContext class. get_current( ) as appropriate backend_ auth. common/ local.py as it is now not used.
- Use the helper method context.
- Update the custom_
- Remove heat/openstack/
Change-Id: I64f6af5090e985 79b93a616bc79f4 aaa6cd2b2ee
Closes-bug: 1435588