Suppressing paramiko log
Suppressing paramiko log
Backup paramiko source file.
cd /usr/local/lib/python2.7/site-packages/
cp -p paramiko/util.py{,.bak}
Modify paramiko/util.py.
diff paramiko/util.py{,.bak}
265c265
return True
Set logger name "suppress" in your code.
self.client = SSHClient()
self.client.set_log_channel('suppress')