Merge "remove useless logging"

This commit is contained in:
Jenkins 2017-07-19 12:42:52 +00:00 committed by Gerrit Code Review
commit 0ddfa278ef
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))