remove useless logging

There are many uselees logging in the decision log file:
Arguments dropped when creating context: {u'global_request_id': None}

Change-Id: I7583b2ff6ea1cc15173536ca1cf08cc9f0ecb20d
Closes-Bug: #1704736
This commit is contained in:
licanwei 2017-07-17 16:15:23 +08:00
parent 728acc091b
commit 844577e9cc
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ class RequestContext(context.RequestContext):
# oslo_context's RequestContext.to_dict() generates this field, we can
# safely ignore this as we don't use it.
kwargs.pop('user_identity', None)
kwargs.pop('global_request_id', None)
if kwargs:
LOG.warning('Arguments dropped when creating context: %s',
str(kwargs))