improved message
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 30 Oct 2013 09:56:30 +0000 (09:56 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 30 Oct 2013 09:56:30 +0000 (09:56 +0000)
src/ats/libgnunet_plugin_ats_proportional.c

index 8ae4d3617d8237e76f51a19ab15d52ac4de936c6..0c855a66fde219266c5c62bf2f7bdd6ab390ca73 100644 (file)
@@ -1224,7 +1224,7 @@ GAS_proportional_address_delete (void *solver, struct ATS_Address *address,
       s->bw_changed (s->bw_changed_cls, (struct ATS_Address *) new_address);
     }
   }
-  LOG(GNUNET_ERROR_TYPE_DEBUG,
+  LOG(GNUNET_ERROR_TYPE_INFO,
       "After deleting address now total %u and active %u addresses in network `%s'\n",
       net->total_addresses, net->active_addresses, net->desc);
 
@@ -1493,9 +1493,10 @@ GAS_proportional_address_add (void *solver, struct ATS_Address *address,
           s->bw_changed (s->bw_changed_cls, (struct ATS_Address *) address);
     }
   }
-  LOG(GNUNET_ERROR_TYPE_DEBUG,
-      "After adding address now total %u and active %u addresses in network `%s'\n",
-      net->total_addresses, net->active_addresses, net->desc);
+
+  LOG(GNUNET_ERROR_TYPE_INFO,
+      "Adding new address %p for peer `%s', now total %u and active %u addresses in network `%s'\n",
+      address, GNUNET_i2s(&address->peer), net->total_addresses, net->active_addresses, net->desc);
 }