From 12e3102a7f88ceca8bcd4892d81b252f894027af Mon Sep 17 00:00:00 2001 From: Kobi Samoray Date: Thu, 5 Nov 2015 15:21:25 +0200 Subject: [PATCH] Log returned data from NSX manager To ease debugging, added a log for NSX replys to the plugin. Change-Id: I18a9408095a6b830c51e5105f7fe10ffd327a176 --- vmware_nsx/plugins/nsx_v/vshield/vcns.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vmware_nsx/plugins/nsx_v/vshield/vcns.py b/vmware_nsx/plugins/nsx_v/vshield/vcns.py index 5842985a23..8ff291d5c5 100644 --- a/vmware_nsx/plugins/nsx_v/vshield/vcns.py +++ b/vmware_nsx/plugins/nsx_v/vshield/vcns.py @@ -111,6 +111,9 @@ class Vcns(object): _client = self.xmlapi_client.request header, content = self._client_request(_client, method, uri, params, headers, encodeParams) + + LOG.debug('VcnsApiHelper reply: header=%(header)s content=%(content)s', + {'header': header, 'content': content}) if content == '': return header, {} if kwargs.get('decode', True):