aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-01-27 13:13:56 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2016-01-27 13:13:56 +0100
commit438a29faf556a9dcc2a304180ce77a32cc748e35 (patch)
tree2c7ab950ac4a6f052ecbe38079b1c754c5d017c8
parent77e92f96dd56659d14d496d86d3814ea69fb2b3d (diff)
Remove possible message "No handlers could be found for logger paramiko"
Change-Id: Ib6324b96489551cd88eb1639cb61d38bff898638 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
-rw-r--r--testcases/vPing/CI/libraries/vPing2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testcases/vPing/CI/libraries/vPing2.py b/testcases/vPing/CI/libraries/vPing2.py
index 1a9a531c3..a60ae000f 100644
--- a/testcases/vPing/CI/libraries/vPing2.py
+++ b/testcases/vPing/CI/libraries/vPing2.py
@@ -57,6 +57,7 @@ formatter = logging.Formatter('%(asctime)s - %(name)s'
ch.setFormatter(formatter)
logger.addHandler(ch)
+paramiko.util.log_to_file("/var/log/paramiko.log")
REPO_PATH = os.environ['repos_dir']+'/functest/'
if not os.path.exists(REPO_PATH):