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
This commit is contained in:
Sivasathurappan Radhakrishnan 2016-05-16 22:09:44 +00:00
parent efb67379eb
commit 43f8eb40d7
1 changed files with 1 additions and 0 deletions

View File

@ -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
-------------------