summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/api/openstack/wsgi.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py
index bdd38ebb5..5b9900f72 100644
--- a/nova/api/openstack/wsgi.py
+++ b/nova/api/openstack/wsgi.py
@@ -878,9 +878,6 @@ class Resource(wsgi.Application):
def __call__(self, request):
"""WSGI method that controls (de)serialization and method dispatch."""
- LOG.info("%(method)s %(url)s" % {"method": request.method,
- "url": request.url})
-
# Identify the action, its arguments, and the requested
# content type
action_args = self.get_action_args(request.environ)
@@ -923,7 +920,7 @@ class Resource(wsgi.Application):
return Fault(webob.exc.HTTPBadRequest(explanation=msg))
if body:
- LOG.info(_("Action: '%(action)s', body: %(body)s") % locals())
+ LOG.debug(_("Action: '%(action)s', body: %(body)s") % locals())
LOG.debug(_("Calling method %s") % meth)
# Now, deserialize the request body...
@@ -988,15 +985,6 @@ class Resource(wsgi.Application):
response = resp_obj.serialize(request, accept,
self.default_serializers)
- try:
- msg_dict = dict(url=request.url, status=response.status_int)
- msg = _("%(url)s returned with HTTP %(status)d") % msg_dict
- except AttributeError, e:
- msg_dict = dict(url=request.url, e=e)
- msg = _("%(url)s returned a fault: %(e)s") % msg_dict
-
- LOG.info(msg)
-
return response
def get_method(self, request, action, content_type, body):