From 1bf87909e7889d9a3483dc973b6c1423c5b3d3c7 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 (cherry picked from commit 486df37a8429942d3a9464b20f806481982cdcde) --- src/options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/options.c b/src/options.c index bd0481e2..8d18131e 100644 --- a/src/options.c +++ b/src/options.c @@ -351,6 +351,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 @@ -1704,6 +1705,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