aboutsummaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2019-03-08 15:48:19 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-03-11 16:22:07 +0100
commitd8fc65ad71252c9480fd2db450486c91d5d4edf5 (patch)
tree8f62429bb2f8e80e49e25c8f79ac5158ff3982a8 /src/options.c
parent81d0f6b6b7aec7009136952b5ec434e25a3e883f (diff)
downloadlibssh-d8fc65ad71252c9480fd2db450486c91d5d4edf5.tar.gz
libssh-d8fc65ad71252c9480fd2db450486c91d5d4edf5.tar.xz
libssh-d8fc65ad71252c9480fd2db450486c91d5d4edf5.zip
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 <jpazdziora@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c25
1 files changed, 10 insertions, 15 deletions
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 *,