gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r18807 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r18807 - gnunet/src/transport
Date: Sun, 25 Dec 2011 15:47:20 +0100

Author: grothoff
Date: 2011-12-25 15:47:19 +0100 (Sun, 25 Dec 2011)
New Revision: 18807

Modified:
   gnunet/src/transport/gnunet-service-transport_neighbours.c
Log:
-LRN: neaten up, make debug log calls use DEBUG level

Modified: gnunet/src/transport/gnunet-service-transport_neighbours.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_neighbours.c  2011-12-25 
14:46:50 UTC (rev 18806)
+++ gnunet/src/transport/gnunet-service-transport_neighbours.c  2011-12-25 
14:47:19 UTC (rev 18807)
@@ -539,7 +539,7 @@
     char *old = GNUNET_strdup (print_state (n->state));
     char *new = GNUNET_strdup (print_state (state));
 
-    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                 "State for neighbour `%s' %X changed from `%s' to `%s' in line 
%u\n",
                 GNUNET_i2s (&n->id), n, old, new, line);
     GNUNET_free (old);
@@ -1119,7 +1119,7 @@
   struct QuotaSetMessage q_msg;
 
 #if DEBUG_TRANSPORT
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Sending outbound quota of %u Bps for peer `%s' to all 
clients\n",
               ntohl (quota.value__), GNUNET_i2s (target));
 #endif
@@ -1403,7 +1403,7 @@
 
   /* checks successful and neighbour != NULL */
 #if DEBUG_TRANSPORT
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "ATS tells us to switch to address '%s' session %p for peer `%s' 
in state `%s'\n",
               GST_plugins_a2s (address), session, GNUNET_i2s (peer),
               print_state (n->state));
@@ -2202,7 +2202,7 @@
   GNUNET_HashCode hc;
 
 #if DEBUG_TRANSPORT
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Received DISCONNECT message from peer `%s'\n",
               GNUNET_i2s (peer));
 #endif
@@ -2284,7 +2284,7 @@
   size_t ret;
 
 #if DEBUG_TRANSPORT
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Received CONNECT_ACK message from peer `%s'\n",
               GNUNET_i2s (peer));
 #endif




reply via email to

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