Code Review
/
openstack-build
/
cinder-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
826c452
)
Log the body of an /action
author
Derrick J. Wippler
<thrawn01@gmail.com>
Fri, 19 Oct 2012 14:53:18 +0000
(14:53 +0000)
committer
Derrick J. Wippler
<thrawn01@gmail.com>
Tue, 30 Oct 2012 14:50:39 +0000
(14:50 +0000)
The inability to deduce an /action request from the logs
makes diagnosing integration with nova difficult. This change
logs the action method and arguments
Change-Id: Iea4f46c7da9c61e07aa23e897b60992b8fdb6663
cinder/api/openstack/wsgi.py
patch
|
blob
|
history
diff --git
a/cinder/api/openstack/wsgi.py
b/cinder/api/openstack/wsgi.py
index fa0baead62891423fa394a867d4622342a088817..9bfc8b061f6ac56c8c531df137613465bd319ab4 100644
(file)
--- a/
cinder/api/openstack/wsgi.py
+++ b/
cinder/api/openstack/wsgi.py
@@
-911,6
+911,7
@@
class Resource(wsgi.Application):
# OK, it's an action; figure out which action...
mtype = _MEDIA_TYPE_MAP.get(content_type)
action_name = self.action_peek[mtype](body)
+ LOG.debug("Action body: %s" % body)
else:
action_name = action