diff --git a/src/pylibsshext/session.pyx b/src/pylibsshext/session.pyx index 294827c80..4d0dffeba 100644 --- a/src/pylibsshext/session.pyx +++ b/src/pylibsshext/session.pyx @@ -46,11 +46,12 @@ OPTS_DIR_MAP = { LOG_MAP = { logging.NOTSET: libssh.SSH_LOG_NONE, - logging.DEBUG: libssh.SSH_LOG_DEBUG, + logging.DEBUG: libssh.SSH_LOG_TRACE, + 15: libssh.SSH_LOG_DEBUG, logging.INFO: libssh.SSH_LOG_INFO, logging.WARNING: libssh.SSH_LOG_WARN, logging.ERROR: libssh.SSH_LOG_WARN, - logging.CRITICAL: libssh.SSH_LOG_TRACE + logging.CRITICAL: libssh.SSH_LOG_WARN } KNOW_HOST_MSG_MAP = {