mirror of
https://github.com/gryf/ferrit.git
synced 2026-11-20 01:16:55 +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:
1 parent
c026194a03
commit
1d9d69cca9
1 file changed
+1
-1
@@ -99,7 +99,7 @@ class Server(paramiko.ServerInterface):
|
||||
|
||||
def check_global_request(self, kind, msg):
|
||||
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
|
||||
|
||||
def check_channel_env_request(self, channel, name, value):
|
||||
|
||||
Reference in new issue
Block a user