Skip to content

Commit

Permalink
Merge "Correct request logging query parameters separator"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Apr 24, 2015
2 parents 5925313 + a80b98f commit 8fb2dcd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions keystone/common/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,11 @@ def __call__(self, req):
# response code between GET and HEAD requests. The HTTP status should
# be the same.
req_method = req.environ['REQUEST_METHOD'].upper()
LOG.info('%(req_method)s %(path)s?%(params)s', {
LOG.info('%(req_method)s %(path)s%(params)s', {
'req_method': req_method,
'path': context['path'],
'params': urllib.urlencode(req.params)})
'params': '?' + urllib.urlencode(req.params) if req.params else ''}
)

params = self._normalize_dict(params)

Expand Down

0 comments on commit 8fb2dcd

Please sign in to comment.