diff --git a/tendrl/gluster_integration/flows/enable_disable_volume_profiling/__init__.py b/tendrl/gluster_integration/flows/enable_disable_volume_profiling/__init__.py index 51468a5..5300b4f 100644 --- a/tendrl/gluster_integration/flows/enable_disable_volume_profiling/__init__.py +++ b/tendrl/gluster_integration/flows/enable_disable_volume_profiling/__init__.py @@ -60,11 +60,12 @@ def run(self): ).run() if err != "" or rc != 0: logger.log( - "error", + "info", NS.publisher_id, { - "message": "%s profiling failed for volume: %s" % - (action, volume.name) + "message": "%s profiling failed for volume: %s." + " Error: %s" % + (action, volume.name, err) }, job_id=self.parameters["job_id"], flow_id=self.parameters["flow_id"] @@ -78,7 +79,7 @@ def run(self): volume.save() if len(failed_vols) > 0: logger.log( - "error", + "info", NS.publisher_id, { "message": "%s profiling failed for "