From 486df37a8429942d3a9464b20f806481982cdcde Mon Sep 17 00:00:00 2001 From: Norbert Pocs Date: Fri, 27 Jan 2023 18:03:04 +0100 Subject: [PATCH] src/options.c: Add documentation for default LogLevel Libssh defaults to QUIET or SSH_LOG_NONE regarding of loglevel. Have it documented to not confuse the users. Signed-off-by: Norbert Pocs Reviewed-by: Jakub Jelen --- src/options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/options.c b/src/options.c index 3614009a..79699a75 100644 --- a/src/options.c +++ b/src/options.c @@ -367,6 +367,7 @@ int ssh_options_set_algo(ssh_session session, * - SSH_LOG_PROTOCOL: High level protocol information * - SSH_LOG_PACKET: Lower level protocol information, packet level * - SSH_LOG_FUNCTIONS: Every function path + * The default is SSH_LOG_NOLOG. * * - SSH_OPTIONS_LOG_VERBOSITY_STR: * Set the session logging verbosity via a @@ -1768,6 +1769,7 @@ static int ssh_bind_set_algo(ssh_bind sshbind, * - SSH_LOG_PROTOCOL: High level protocol information * - SSH_LOG_PACKET: Lower level protocol information, packet level * - SSH_LOG_FUNCTIONS: Every function path + * The default is SSH_LOG_NOLOG. * * - SSH_BIND_OPTIONS_LOG_VERBOSITY_STR: * Set the session logging verbosity via a