From 8dedbcc97bc3b21e698ed6a069e5cefa80cb27f2 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Mon, 31 Jan 2011 12:04:14 +0000 Subject: [PATCH] reduce messages from dht service --- src/dht/gnunet-dht-driver.c | 8 ++------ src/dht/gnunet-service-dht.c | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/dht/gnunet-dht-driver.c b/src/dht/gnunet-dht-driver.c index 79ee22c1d..e9a30c39b 100644 --- a/src/dht/gnunet-dht-driver.c +++ b/src/dht/gnunet-dht-driver.c @@ -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 */ diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index 454dfe581..b7778df8b 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c @@ -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; -- 2.25.1