mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 22:52:24 +03:00
paramiko log level was changed
This commit is contained in:
parent
c0598f608c
commit
d4936b4e4e
1 changed files with 2 additions and 0 deletions
|
@ -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']
|
||||||
|
|
Loading…
Reference in a new issue