aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/networking/iperf3.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/iperf3.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/iperf3.py')
-rw-r--r--yardstick/benchmark/scenarios/networking/iperf3.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/yardstick/benchmark/scenarios/networking/iperf3.py b/yardstick/benchmark/scenarios/networking/iperf3.py
index 3c4cd1fbf..ff625de4d 100644
--- a/yardstick/benchmark/scenarios/networking/iperf3.py
+++ b/yardstick/benchmark/scenarios/networking/iperf3.py
@@ -18,7 +18,6 @@ import yardstick.ssh as ssh
from yardstick.benchmark.scenarios import base
LOG = logging.getLogger(__name__)
-LOG.setLevel(logging.DEBUG)
class Iperf(base.Scenario):
@@ -59,12 +58,12 @@ For more info see http://software.es.net/iperf
def setup(self):
LOG.debug("setup, key %s", self.key_filename)
- LOG.debug("host:%s, user:%s", self.host_ipaddr, self.user)
+ LOG.info("host:%s, user:%s", self.host_ipaddr, self.user)
self.host = ssh.SSH(self.user, self.host_ipaddr,
key_filename=self.key_filename)
self.host.wait(timeout=600)
- LOG.debug("target:%s, user:%s", self.target_ipaddr, self.user)
+ LOG.info("target:%s, user:%s", self.target_ipaddr, self.user)
self.target = ssh.SSH(self.user, self.target_ipaddr,
key_filename=self.key_filename)
self.target.wait(timeout=600)