From: Ross Brattain Date: Tue, 4 Apr 2017 06:45:57 +0000 (-0700) Subject: operation_general: fix logging to use %s X-Git-Tag: danube.2.RC1~11^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F34213%2F1;p=yardstick.git operation_general: fix logging to use %s Change-Id: I1b37cbf07e8858ca3e75bb74c57fe84485ff4989 Signed-off-by: Ross Brattain (cherry picked from commit 37f600566c56542999529da47299c4caf54d073a) --- diff --git a/yardstick/benchmark/scenarios/availability/operation/operation_general.py b/yardstick/benchmark/scenarios/availability/operation/operation_general.py index 42d70f4da..bfd7d04b0 100644 --- a/yardstick/benchmark/scenarios/availability/operation/operation_general.py +++ b/yardstick/benchmark/scenarios/availability/operation/operation_general.py @@ -71,7 +71,7 @@ class GeneralOperaion(BaseOperation): stdin=stdin_file) if exit_status == 0: - LOG.debug("success,the operation's output is: {0}".format(stdout)) + LOG.debug("success,the operation's output is: %s", stdout) else: LOG.error( "the operation's error, stdout:%s, stderr:%s",