aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/core/plugin.py
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2017-09-13 08:29:08 +0000
committerrexlee8776 <limingjiang@huawei.com>2017-09-14 01:32:53 +0000
commit2ad9a9b27a0eaf6a1e256727caf14106da07c626 (patch)
treea3c069bef89596368b48f184739e4edfdb979b52 /yardstick/benchmark/core/plugin.py
parentdc4c82cda3362f1a1fa04340103846c4aa655ec5 (diff)
improve logging, clear using print
Change-Id: I744353f631cf1771d75f750543e8612f81be71ee Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'yardstick/benchmark/core/plugin.py')
-rw-r--r--yardstick/benchmark/core/plugin.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/yardstick/benchmark/core/plugin.py b/yardstick/benchmark/core/plugin.py
index 24f1b6b25..56ecd29d9 100644
--- a/yardstick/benchmark/core/plugin.py
+++ b/yardstick/benchmark/core/plugin.py
@@ -38,19 +38,19 @@ class Plugin(object):
plugins, deployment = parser.parse_plugin()
plugin_name = plugins.get("name")
- print("Installing plugin: %s" % plugin_name)
+ LOG.info("Installing plugin: %s", plugin_name)
- LOG.info("Executing _install_setup()")
+ LOG.debug("Executing _install_setup()")
self._install_setup(plugin_name, deployment)
- LOG.info("Executing _run()")
+ LOG.debug("Executing _run()")
self._run(plugin_name)
total_end_time = time.time()
- LOG.info("total finished in %d secs",
+ LOG.info("Total finished in %d secs",
total_end_time - total_start_time)
- print("Done, exiting")
+ LOG.info("Plugin %s Done, exiting", plugin_name)
def remove(self, args):
"""Remove a plugin."""