summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorricolin <rico.lin.guanyu@gmail.com>2017-02-15 15:04:27 +0800
committerCrag Wolfe <cwolfe@redhat.com>2017-03-07 14:38:24 -0500
commit63b812365ba7a3c8979e279fe3a8b5a766a34e19 (patch)
tree7292926d62108a76e85fb5ebed72ba3fb471d279
parentc0ac4c3cb0a6fdf5b1ff5f78bdf1a8f429d6319a (diff)
downloadheat-63b812365ba7a3c8979e279fe3a8b5a766a34e19.tar.gz
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 1c32b85d54a07ce12cdf9b1703fb3e41657a683d)
-rw-r--r--heat/common/serializers.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/heat/common/serializers.py b/heat/common/serializers.py
index 836c6f7be..3125ba98b 100644
--- a/heat/common/serializers.py
+++ b/heat/common/serializers.py
@@ -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):