From: jose.lausuch Date: Wed, 27 Jan 2016 12:13:56 +0000 (+0100) Subject: Remove possible message "No handlers could be found for logger paramiko" X-Git-Tag: brahmaputra.1.0~102 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=bb433f757c531c3d6dfae4e3ae89f93798afa2fd;p=functest.git Remove possible message "No handlers could be found for logger paramiko" Change-Id: Ib6324b96489551cd88eb1639cb61d38bff898638 Signed-off-by: jose.lausuch (cherry picked from commit 438a29faf556a9dcc2a304180ce77a32cc748e35) --- 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):