Log error code's value when sessiond replies to a client
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 5 Aug 2015 18:09:27 +0000 (14:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 5 Aug 2015 18:09:27 +0000 (14:09 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c

index a1fbe5128f4983fab1e32bb8b9cf4d7576a3a570..fa5cb901e12505c2d71d6156fdd81f5701dec2e9 100644 (file)
@@ -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");
This page took 0.028699 seconds and 4 git commands to generate.