summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-01-17 18:47:51 +0000
committerGerrit Code Review <review@openstack.org>2013-01-17 18:47:51 +0000
commita251e5bb487f6b0b73035ffd2bdd1ce27d09e5c7 (patch)
treeeedd88086ab06a8a79e71e0df3a45022f7fa2a15
parent52fe25a5281a50a5e4c1ff093ce9ed966241a3d7 (diff)
parent6dc5dde51765bc1cede519e42b27f30eb23e07e3 (diff)
downloadnova-a251e5bb487f6b0b73035ffd2bdd1ce27d09e5c7.tar.gz
nova-a251e5bb487f6b0b73035ffd2bdd1ce27d09e5c7.tar.xz
nova-a251e5bb487f6b0b73035ffd2bdd1ce27d09e5c7.zip
Merge "Make nova-api logs more useful"
-rw-r--r--nova/api/openstack/wsgi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py
index 519669134..733685b14 100644
--- a/nova/api/openstack/wsgi.py
+++ b/nova/api/openstack/wsgi.py
@@ -919,6 +919,10 @@ class Resource(wsgi.Application):
msg = _("Malformed request body")
return Fault(webob.exc.HTTPBadRequest(explanation=msg))
+ if body:
+ LOG.info(_("Action: '%(action)s', body: %(body)s") % locals())
+ LOG.debug(_("Calling method %s") % meth)
+
# Now, deserialize the request body...
try:
if content_type: