- log
authorBart Polot <bart@net.in.tum.de>
Thu, 3 Sep 2015 18:04:03 +0000 (18:04 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 3 Sep 2015 18:04:03 +0000 (18:04 +0000)
src/cadet/gnunet-service-cadet_local.c
src/cadet/gnunet-service-cadet_peer.c
src/cadet/gnunet-service-cadet_tunnel.c

index 6c9a1a64e390679f3076d809479b8fe16572a6c8..e6012d64a4d0eac9c21068aa4324a0291a59110b 100644 (file)
@@ -948,7 +948,7 @@ handle_show_tunnel (void *cls, struct GNUNET_SERVER_Client *client,
   }
 
   msg = (struct GNUNET_CADET_LocalInfo *) message;
-  LOG (GNUNET_ERROR_TYPE_INFO,
+  LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Received tunnel info request from client %u for tunnel %s\n",
        c->id, GNUNET_i2s_full(&msg->peer));
 
@@ -998,7 +998,7 @@ handle_show_tunnel (void *cls, struct GNUNET_SERVER_Client *client,
                                               &resp->header, GNUNET_NO);
   GNUNET_free (resp);
 
-  LOG (GNUNET_ERROR_TYPE_INFO,
+  LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Show tunnel request from client %u completed. %u conn, %u ch\n",
        c->id, c_n, ch_n);
   GNUNET_SERVER_receive_done (client, GNUNET_OK);
index a90ff5cb207ee741f162bc093464286fc706b16f..9c072e54b7b9788f4f34b2711fc7bd0cb079c43f 100644 (file)
@@ -1206,8 +1206,10 @@ queue_send (void *cls, size_t size, void *buf)
   core_wait_time = GNUNET_TIME_absolute_get_duration (peer->tmt_time);
   if (core_wait_time.rel_value_us >= 1000000)
   {
-    LOG (GNUNET_ERROR_TYPE_ERROR, " core wait time %s > 1 second\n",
-         GNUNET_STRINGS_relative_time_to_string (core_wait_time, GNUNET_NO));
+    LOG (GNUNET_ERROR_TYPE_ERROR,
+         " core wait time %s > 1 second for %u bytes\n",
+         GNUNET_STRINGS_relative_time_to_string (core_wait_time, GNUNET_NO),
+         queue->size);
   }
   else
   {
index 6c17954a39b8d2deebd48f5855e15250ac207baf..6538bdbb7eaa4fe0fcc64d09a0fab9799a0c02cb 100644 (file)
@@ -1958,8 +1958,8 @@ send_prebuilt_message (const struct GNUNET_MessageHeader *message,
 
   if (NULL == cont)
   {
-    GNUNET_break (NULL == GCC_send_prebuilt_message (msg, type,
-                                                     mid, c, fwd, force, NULL, NULL));
+    GNUNET_break (NULL == GCC_send_prebuilt_message (msg, type, mid, c, fwd,
+                                                     force, NULL, NULL));
     return NULL;
   }
   if (NULL == existing_q)