disabling output
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 29 Jun 2011 12:49:16 +0000 (12:49 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 29 Jun 2011 12:49:16 +0000 (12:49 +0000)
src/nat/nat.c
src/transport/gnunet-service-transport.c
src/transport/test_transport_api_tcp_peer2.conf

index 99d2bbc7ca2b1747507da4a2d65768b6d9674de5..5db799a904342c3476a3e4b5b8113a8965b7cb2e 100644 (file)
@@ -915,7 +915,7 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg,
   struct in_addr in_addr;
   unsigned int i;
 
-  GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Registered with NAT service at port %u with %u IP bound local addresses\n",
              (unsigned int) adv_port,
              num_addrs);
index cf7434c32058d695b307d57a9d6f575e31bb6358..427b8dabdd7fde87386d5dab82921cc11b25534b 100644 (file)
@@ -2792,14 +2792,15 @@ plugin_env_notify_address (void *cls,
 
   GNUNET_assert (p->api != NULL);
 
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+#if DEBUG_TRANSPORT
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              (add_remove == GNUNET_YES)
              ? "Adding `%s':%s to the set of our addresses\n"
              : "Removing `%s':%s from the set of our addresses\n",
              a2s (p->short_name,
                   addr, addrlen),
              p->short_name);
-             
+#endif
   GNUNET_assert (addr != NULL);
   if (GNUNET_NO == add_remove)
     {
index 19b8b42d33895fb8d0c5ee5d1f65b3ff60cb9900..7589a966e2ba12962055b94003aa156285b2efeb 100644 (file)
@@ -31,7 +31,7 @@ MINIMUM-FRIENDS = 0
 
 [transport]
 PLUGINS = tcp
-DEBUG = YES
+#DEBUG = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 NEIGHBOUR_LIMIT = 50