summaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/networking/ping.py
diff options
context:
space:
mode:
authorKristian Hunt <kristian.hunt@gmail.com>2015-09-16 10:34:33 +0200
committerKristian Hunt <kristian.hunt@gmail.com>2015-09-16 11:08:24 +0200
commitd53407ddf0c43bdc79f15a8fe67333090613f90a (patch)
treea7859e9efb05712bf686738354a0e92a20aba29d /yardstick/benchmark/scenarios/networking/ping.py
parent2aa1cd3922f26b9d8c9bdad310463caa5eeb8136 (diff)
Remove setting logger level to debug in scenarios
Logging level should be specified using a command line flag -v or -d when running yardstick, rather than hardcoded into source code. If the message is to be displayed whenever yardstick is executed regardless of the verbosity level, then the message should be logged to warning or error levels, instead of debug. JIRA: YARDSTICK-95 Change-Id: Idc9b81b583f4999bfbc57893f0ab3c3675c70f71 Signed-off-by: Kristian Hunt <kristian.hunt@gmail.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/networking/ping.py')
-rw-r--r--yardstick/benchmark/scenarios/networking/ping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/scenarios/networking/ping.py b/yardstick/benchmark/scenarios/networking/ping.py
index 630b007c2..41395d8d6 100644
--- a/yardstick/benchmark/scenarios/networking/ping.py
+++ b/yardstick/benchmark/scenarios/networking/ping.py
@@ -40,7 +40,7 @@ class Ping(base.Scenario):
host = self.context.get('host', None)
key_filename = self.context.get('key_filename', '~/.ssh/id_rsa')
- LOG.debug("user:%s, host:%s", user, host)
+ LOG.info("user:%s, host:%s", user, host)
self.connection = ssh.SSH(user, host, key_filename=key_filename)
self.connection.wait()