fix debug levels
authorChristian Grothoff <christian@grothoff.org>
Sun, 12 Mar 2017 22:32:03 +0000 (23:32 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 13 Mar 2017 00:24:33 +0000 (01:24 +0100)
src/util/client.c
src/util/service_new.c

index 0f7d0d35933f555e9ef1d21ffc12e471b3b5974c..163ae6eb9f522c6e4fbbf35d5935cc13f7b03643 100644 (file)
@@ -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)
index 5b3a332ac94647ef2dc412c6ac1afc2a577318d0..9c0ee539b5903561dc97959ccc20fc49df0a487f 100644 (file)
@@ -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);