summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorSivasathurappan Radhakrishnan <siva.radhakrishnan@intel.com>2016-05-16 22:09:44 +0000
committerSivasathurappan Radhakrishnan <siva.radhakrishnan@intel.com>2016-09-27 18:02:08 +0000
commitb3d58ed718db91015582cf759a7c8af1874ef093 (patch)
tree4b10c977187010cafecd783526db1fdfe388184c /HACKING.rst
parent69784047ea84bae60bac34fa193eb4a39007bc7a (diff)
downloadnova-b3d58ed718db91015582cf759a7c8af1874ef093.tar.gz
Remove context object in oslo.log method
Removed context object while logging as Nova uses oslo.context's RequestContext which means the context object is in scope when doing logging. Added hack to notify, in case if someone uses it in logging statements in future. Change-Id: I5aaa869f2e6155964827e659d18e2bcaad9d866b Closes-Bug:#1500896
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index ad0eb0338b..cdd8cfd6e0 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -63,6 +63,7 @@ Nova Specific Commandments
- [N350] Policy registration should be in the central location ``nova/policies/``
- [N351] Do not use the oslo_policy.policy.Enforcer.enforce() method.
- [N352] LOG.warn is deprecated. Enforce use of LOG.warning.
+- [N353] Validate that context objects is not passed in logging calls.
Creating Unit Tests
-------------------