From 9ea375c5dce105c657694ce296fbb24b03a0c6ab Mon Sep 17 00:00:00 2001 From: "Derrick J. Wippler" Date: Fri, 19 Oct 2012 14:53:18 +0000 Subject: [PATCH] Log the body of an /action 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/cinder/api/openstack/wsgi.py b/cinder/api/openstack/wsgi.py index fa0baead6..9bfc8b061 100644 --- 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 -- 2.45.2