paramiko log level was changed

This commit is contained in:
Volkan Şahin 2016-07-21 18:03:09 +03:00
parent c0598f608c
commit d4936b4e4e

View file

@ -6,6 +6,7 @@ from base.util.util import Util
from base.system.system import System from base.system.system import System
from base.Scope import Scope from base.Scope import Scope
import paramiko import paramiko
import logging
class Ssh(object): class Ssh(object):
@ -14,6 +15,7 @@ class Ssh(object):
scope = Scope().getInstance() scope = Scope().getInstance()
self.logger = scope.getLogger() self.logger = scope.getLogger()
self.configuration_manager = scope.getConfigurationManager() self.configuration_manager = scope.getConfigurationManager()
logging.getLogger("paramiko").setLevel(logging.INFO)
try: try:
self.target_hostname = parameter_map['host'] self.target_hostname = parameter_map['host']