diff --git a/src/options.c b/src/options.c index 8d926b4e..80364fbd 100644 --- a/src/options.c +++ b/src/options.c @@ -635,6 +635,7 @@ int ssh_options_set(ssh_session session, enum ssh_options_e type, } session->common.log_verbosity = *x & 0xffff; + ssh_set_log_level(*x & 0xffff); } break; case SSH_OPTIONS_LOG_VERBOSITY_STR: