Remove possible message "No handlers could be found for logger paramiko" 81/8181/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 27 Jan 2016 12:13:56 +0000 (13:13 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Wed, 27 Jan 2016 17:37:59 +0000 (17:37 +0000)
Change-Id: Ib6324b96489551cd88eb1639cb61d38bff898638
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 438a29faf556a9dcc2a304180ce77a32cc748e35)

testcases/vPing/CI/libraries/vPing2.py

index 1a9a531..a60ae00 100644 (file)
@@ -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):