From 0faae2f535514c3f411a67dfeddc9d12c3187517 Mon Sep 17 00:00:00 2001 From: Daniel Wilson Date: Thu, 19 Mar 2015 21:35:14 -0700 Subject: [PATCH] Remove chap secret DEBUG logging in PureISCSIDriver We are removing a small piece of code that caused the CHAP secret to be logged in plain text in the log file when DEBUG level logging is turned on in Cinder. This is undesirable so it is being taken out. Change-Id: I119800e2c3695201e9fca544f597ea9a577a2809 Closes-Bug: 1434320 --- cinder/volume/drivers/pure.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cinder/volume/drivers/pure.py b/cinder/volume/drivers/pure.py index 611ddeb3cdd..94a17f37370 100644 --- a/cinder/volume/drivers/pure.py +++ b/cinder/volume/drivers/pure.py @@ -270,8 +270,7 @@ class PureISCSIDriver(san.SanISCSIDriver): if initiator_update: properties["initiator_update"] = initiator_update - LOG.debug("Leave PureISCSIDriver.initialize_connection. " - "Return value: %s", str(properties)) + LOG.debug("Leave PureISCSIDriver.initialize_connection.") return properties def _get_target_iscsi_port(self):