reduce messages from dht service
authorNathan S. Evans <evans@in.tum.de>
Mon, 31 Jan 2011 12:04:14 +0000 (12:04 +0000)
committerNathan S. Evans <evans@in.tum.de>
Mon, 31 Jan 2011 12:04:14 +0000 (12:04 +0000)
src/dht/gnunet-dht-driver.c
src/dht/gnunet-service-dht.c

index 79ee22c1d2fc35924cfce03131702501f24b08a8..e9a30c39bea259330eccb986e169d478ca40fe0f 100644 (file)
@@ -2617,10 +2617,8 @@ create_topology ()
   peers_left = num_peers; /* Reset counter */
   if (GNUNET_TESTING_create_topology (pg, topology, blacklist_topology, blacklist_transports) != GNUNET_SYSERR)
     {
-#if VERBOSE
-      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                   "Topology set up, now starting peers!\n");
-#endif
       GNUNET_TESTING_daemons_continue_startup(pg);
     }
   else
@@ -2662,11 +2660,9 @@ hostkey_callback (void *cls,
     peers_left--;
     if (GNUNET_YES == update_meter(hostkey_meter))
       {
-#if VERBOSE
-        GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+        GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                     "All %d hostkeys created, now creating topology!\n",
                     num_peers);
-#endif
         GNUNET_SCHEDULER_cancel (die_task);
         /* Set up task in case topology creation doesn't finish
          * within a reasonable amount of time */
index 454dfe5814c638301ec11ac58e59a5ff201593e3..b7778df8b7f1b223ed42193610e9bdf5f89c7a88 100644 (file)
@@ -4540,7 +4540,7 @@ handle_dht_control_message (void *cls, struct GNUNET_SERVER_Client *client,
         dhtlog_handle->set_malicious (&my_identity);
 #endif
       malicious_dropper = GNUNET_YES;
-      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                   "%s:%s Initiating malicious DROP behavior\n", my_short_id,
                   "DHT");
       break;