summaryrefslogtreecommitdiff
path: root/oslo_context/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_context/context.py')
-rw-r--r--oslo_context/context.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/oslo_context/context.py b/oslo_context/context.py
index 0458174..19bc1a3 100644
--- a/oslo_context/context.py
+++ b/oslo_context/context.py
@@ -102,15 +102,7 @@ class RequestContext(object):
def get_logging_values(self):
"""Return a dictionary of logging specific context attributes."""
- # Define these attributes so that oslo.log does not throw an exception
- # if used in any formatting strings
- values = {'instance': '',
- 'resource': '',
- 'user_name': '',
- 'project_name': '',
- 'color': ''}
- values.update(self.to_dict())
-
+ values = self.to_dict()
return values
@classmethod