gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r38247 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r38247 - gnunet/src/cadet
Date: Fri, 4 Nov 2016 10:47:26 +0100

Author: bartpolot
Date: 2016-11-04 10:47:26 +0100 (Fri, 04 Nov 2016)
New Revision: 38247

Modified:
   gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- simplify logging

Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c  2016-11-04 09:47:25 UTC 
(rev 38246)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c  2016-11-04 09:47:26 UTC 
(rev 38247)
@@ -682,7 +682,11 @@
   int forced;
 
   GCC_check_connections ();
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "connection message_sent\n");
+    LOG (GNUNET_ERROR_TYPE_INFO,
+         ">>> %s (%s %4u) on conn %s (%p) %s [%5u] in queue %s\n",
+         GC_m2s (type), GC_m2s (payload_type), pid, GCC_2s (c), c,
+         GC_f2s(fwd), size,
+         GNUNET_STRINGS_relative_time_to_string (wait, GNUNET_YES));
 
   /* If c is NULL, nothing to update. */
   if (NULL == c)
@@ -3217,9 +3221,8 @@
   switch (type)
   {
     case GNUNET_MESSAGE_TYPE_CADET_ENCRYPTED:
-      LOG (GNUNET_ERROR_TYPE_DEBUG, "  Q_N+ %p %u\n", fc, fc->queue_n);
-      LOG (GNUNET_ERROR_TYPE_DEBUG, "last pid sent %u\n", fc->last_pid_sent);
-      LOG (GNUNET_ERROR_TYPE_DEBUG, "     ack recv %u\n", fc->last_ack_recv);
+      LOG (GNUNET_ERROR_TYPE_DEBUG, "  Q_N+ %p %u, PIDsnt: %u, ACKrcv: %u\n",
+            fc, fc->queue_n, fc->last_pid_sent, fc->last_ack_recv);
       if (GNUNET_NO == force)
       {
         fc->queue_n++;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]