mirror of
https://github.com/gryf/ferrit.git
synced 2026-03-03 07:15:45 +01:00
Fix global_request logging
The msg fiels is paramiko Message object. It cannot be converted simply via str().
This commit is contained in:
@@ -99,7 +99,7 @@ class Server(paramiko.ServerInterface):
|
|||||||
|
|
||||||
def check_global_request(self, kind, msg):
|
def check_global_request(self, kind, msg):
|
||||||
LOG.debug('%s', inspect.stack()[0][3])
|
LOG.debug('%s', inspect.stack()[0][3])
|
||||||
LOG.debug('kind: %s, msg: %s', kind, str(msg))
|
LOG.debug('kind: %s, msg: %s', kind, msg.get_text())
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def check_channel_env_request(self, channel, name, value):
|
def check_channel_env_request(self, channel, name, value):
|
||||||
|
|||||||
Reference in New Issue
Block a user