Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improve "get_server" function in Kubernetes context
[yardstick.git]
/
yardstick
/
benchmark
/
core
/
plugin.py
diff --git
a/yardstick/benchmark/core/plugin.py
b/yardstick/benchmark/core/plugin.py
index
24f1b6b
..
56ecd29
100644
(file)
--- 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")
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)
self._install_setup(plugin_name, deployment)
- LOG.
info
("Executing _run()")
+ LOG.
debug
("Executing _run()")
self._run(plugin_name)
total_end_time = time.time()
self._run(plugin_name)
total_end_time = time.time()
- LOG.info("
t
otal finished in %d secs",
+ LOG.info("
T
otal finished in %d secs",
total_end_time - total_start_time)
total_end_time - total_start_time)
-
print("Done, exiting"
)
+
LOG.info("Plugin %s Done, exiting", plugin_name
)
def remove(self, args):
"""Remove a plugin."""
def remove(self, args):
"""Remove a plugin."""