mirror of
https://github.com/gryf/ferrit.git
synced 2026-02-07 08:45:53 +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):
|
||||
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