diff --git a/docs/building.rst b/docs/building.rst index 27c881d72..d87a5ca97 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -567,9 +567,6 @@ defines you can use to control the build. | ``TORRENT_DISABLE_DHT`` | If this is defined, the support for trackerless | | | torrents will be disabled. | +----------------------------------------+-------------------------------------------------+ -| ``TORRENT_DHT_VERBOSE_LOGGING`` | This will enable verbose logging of the DHT | -| | protocol traffic. | -+----------------------------------------+-------------------------------------------------+ | ``TORRENT_DISABLE_ENCRYPTION`` | This will disable any encryption support and | | | the dependencies of a crypto library. | | | Encryption support is the peer connection | diff --git a/test/test_dht.cpp b/test/test_dht.cpp index 0b3e0503d..3a245e865 100644 --- a/test/test_dht.cpp +++ b/test/test_dht.cpp @@ -1069,7 +1069,7 @@ TORRENT_TEST(dht) printf("num_active_buckets: %d\n", tbl.num_active_buckets()); TEST_EQUAL(tbl.num_active_buckets(), 6); -#if defined TORRENT_DHT_VERBOSE_LOGGING || defined TORRENT_DEBUG +#if defined TORRENT_DEBUG tbl.print_state(std::cerr); #endif } @@ -1088,7 +1088,7 @@ TORRENT_TEST(dht) } TEST_EQUAL(tbl.num_active_buckets(), 6); -#if defined TORRENT_DHT_VERBOSE_LOGGING || defined TORRENT_DEBUG +#if defined TORRENT_DEBUG tbl.print_state(std::cerr); #endif } @@ -1340,7 +1340,7 @@ TORRENT_TEST(dht) //#error test num_global_nodes //#error test need_refresh -#if defined TORRENT_DHT_VERBOSE_LOGGING || defined TORRENT_DEBUG +#if defined TORRENT_DEBUG table.print_state(std::cerr); #endif