Stop showing json deserialized message in log
We stop showing json deserialized message in debug log, because
message will involved with some private credential message (like
password). Let's block it for now, until we get a better solution.
Partial-Bug: #1664792
Change-Id: I07410df56449c5414a5572d07507e17f5858c5c6
(cherry picked from commit 1c32b85d54
)
This commit is contained in:
parent
c0ac4c3cb0
commit
63b812365b
|
@ -37,7 +37,11 @@ class JSONResponseSerializer(object):
|
|||
return six.text_type(obj)
|
||||
|
||||
response = jsonutils.dumps(data, default=sanitizer)
|
||||
LOG.debug("JSON response : %s" % response)
|
||||
|
||||
# TODO(ricolin): Fix response through private credential information,
|
||||
# before enable below debug message.
|
||||
# LOG.debug("JSON response : %s" % response)
|
||||
|
||||
return response
|
||||
|
||||
def default(self, response, result):
|
||||
|
|
Loading…
Reference in New Issue