diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-01-25 16:15:24 -0800 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-02-07 23:58:04 -0800 |
commit | 4c2ad1b3d6f51da2c6ab4b46e48bd054758496a7 (patch) | |
tree | a274888b3204030a7d9ea6638e77c6162d8bc71b /yardstick/benchmark/scenarios/availability/scenario_general.py | |
parent | a4241e6e9b121447a50fdfe0d79b322c2e2aaea9 (diff) |
more logging fixes
don't use .format() with logging, use regular %s logginer formatter
Change-Id: I1ce0d81cc3f81c35003ef453e82c57faeb46c49f
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/availability/scenario_general.py')
-rw-r--r-- | yardstick/benchmark/scenarios/availability/scenario_general.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yardstick/benchmark/scenarios/availability/scenario_general.py b/yardstick/benchmark/scenarios/availability/scenario_general.py index 2d7ce664e..a950ef933 100644 --- a/yardstick/benchmark/scenarios/availability/scenario_general.py +++ b/yardstick/benchmark/scenarios/availability/scenario_general.py @@ -47,8 +47,8 @@ class ScenarioGeneral(base.Scenario): except Exception: LOG.exception("Exception") LOG.debug( - "\033[91m exception when running step: {0} .... \033[0m" - .format(orderedSteps.index(step))) + "\033[91m exception when running step: %s .... \033[0m", + orderedSteps.index(step)) break finally: pass |