From f2d1b4fa8a76b1fdf9830b2e61d18b8c92e3eb88 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 12 Mar 2017 23:32:03 +0100 Subject: [PATCH] fix debug levels --- src/util/client.c | 8 ++++---- src/util/service_new.c | 13 ++++++------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/util/client.c b/src/util/client.c index 0f7d0d359..163ae6eb9 100644 --- a/src/util/client.c +++ b/src/util/client.c @@ -298,11 +298,11 @@ recv_message (void *cls, if (GNUNET_YES == cstate->in_destroy) return GNUNET_SYSERR; - - LOG (GNUNET_ERROR_TYPE_INFO, + LOG (GNUNET_ERROR_TYPE_DEBUG, "Received message of type %u and size %u from %s\n", - ntohs (msg->type), ntohs (msg->size), cstate->service_name); - + ntohs (msg->type), + ntohs (msg->size), + cstate->service_name); GNUNET_MQ_inject_message (cstate->mq, msg); if (GNUNET_YES == cstate->in_destroy) diff --git a/src/util/service_new.c b/src/util/service_new.c index 5b3a332ac..9c0ee539b 100644 --- a/src/util/service_new.c +++ b/src/util/service_new.c @@ -2000,11 +2000,10 @@ service_mq_send (struct GNUNET_MQ_Handle *mq, if (NULL != client->drop_task) return; /* we're going down right now, do not try to send */ GNUNET_assert (NULL == client->send_task); - - LOG (GNUNET_ERROR_TYPE_INFO, + LOG (GNUNET_ERROR_TYPE_DEBUG, "Sending message of type %u and size %u to client\n", - ntohs (msg->type), ntohs (msg->size)); - + ntohs (msg->type), + ntohs (msg->size)); client->msg = msg; client->msg_pos = 0; client->send_task @@ -2103,10 +2102,10 @@ service_client_mst_cb (void *cls, { struct GNUNET_SERVICE_Client *client = cls; - LOG (GNUNET_ERROR_TYPE_INFO, + LOG (GNUNET_ERROR_TYPE_DEBUG, "Received message of type %u and size %u from client\n", - ntohs (message->type), ntohs (message->size)); - + ntohs (message->type), + ntohs (message->size)); GNUNET_assert (GNUNET_NO == client->needs_continue); client->needs_continue = GNUNET_YES; client->warn_type = ntohs (message->type); -- 2.25.1