From: Jérémie Galarneau Date: Wed, 5 Aug 2015 18:09:27 +0000 (-0400) Subject: Log error code's value when sessiond replies to a client X-Git-Tag: v2.8.0-rc1~522 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a1ac8b97b00ab102166ceb2c978a18d261ebcc03;p=lttng-tools.git Log error code's value when sessiond replies to a client Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index a1fbe5128..fa5cb901e 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -4333,9 +4333,10 @@ static void *thread_manage_clients(void *data) health_code_update(); - DBG("Sending response (size: %d, retcode: %s)", + DBG("Sending response (size: %d, retcode: %s (%d))", cmd_ctx->lttng_msg_size, - lttng_strerror(-cmd_ctx->llm->ret_code)); + lttng_strerror(-cmd_ctx->llm->ret_code), + cmd_ctx->llm->ret_code); ret = send_unix_sock(sock, cmd_ctx->llm, cmd_ctx->lttng_msg_size); if (ret < 0) { ERR("Failed to send data back to client");