From d8fc65ad71252c9480fd2db450486c91d5d4edf5 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Fri, 8 Mar 2019 15:48:19 +0100 Subject: The SSH_LOG_ENTRY is not defined all, match the descriptions to SSH_BIND_OPTIONS_LOG_VERBOSITY*. The documentation amends change in 801bc29494f7b0da377334a9e48eff698d53376d. The SSH_LOG_ENTRY macro was removed during cleanup ab60d1d67847f2af20604f8890381a0cbbed0524. Signed-off-by: Jan Pazdziora Reviewed-by: Andreas Schneider --- src/options.c | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/options.c b/src/options.c index 07c9db51..bdbdcb0e 100644 --- a/src/options.c +++ b/src/options.c @@ -332,23 +332,18 @@ int ssh_options_set_algo(ssh_session session, * The verbosity of the messages. Every log smaller or * equal to verbosity will be shown. * - SSH_LOG_NOLOG: No logging - * - SSH_LOG_RARE: Rare conditions or warnings - * - SSH_LOG_ENTRY: API-accessible entrypoints - * - SSH_LOG_PACKET: Packet id and size - * - SSH_LOG_FUNCTIONS: Function entering and leaving + * - SSH_LOG_WARNING: Only warnings + * - SSH_LOG_PROTOCOL: High level protocol information + * - SSH_LOG_PACKET: Lower level protocol infomations, packet level + * - SSH_LOG_FUNCTIONS: Every function path * * - SSH_OPTIONS_LOG_VERBOSITY_STR: - * Set the session logging verbosity (const char *).\n - * \n - * The verbosity of the messages. Every log smaller or - * equal to verbosity will be shown. - * - SSH_LOG_NOLOG: No logging - * - SSH_LOG_RARE: Rare conditions or warnings - * - SSH_LOG_ENTRY: API-accessible entrypoints - * - SSH_LOG_PACKET: Packet id and size - * - SSH_LOG_FUNCTIONS: Function entering and leaving - * \n - * See the corresponding numbers in libssh.h. + * Set the session logging verbosity via a + * string that will be converted to a numerical + * value (e.g. "3") and interpreted according + * to the values of + * SSH_OPTIONS_LOG_VERBOSITY above (const + * char *). * * - SSH_OPTIONS_CIPHERS_C_S: * Set the symmetric cipher client to server (const char *, -- cgit v1.2.3