aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-11-09 15:50:34 +0000
committerBart Polot <bart@net.in.tum.de>2011-11-09 15:50:34 +0000
commita66a9d2fa196b3342ad071c203ebd3387a5d4293 (patch)
treef3c800c65c4e950f755e67109992d17bc0b46b32 /src
parent3a9b67a0ee33bd00508df3f710dbbabe692d48e8 (diff)
downloadgnunet-a66a9d2fa196b3342ad071c203ebd3387a5d4293.tar.gz
gnunet-a66a9d2fa196b3342ad071c203ebd3387a5d4293.zip
Improved debug logging
Diffstat (limited to 'src')
-rw-r--r--src/testing/testing_group.c4
-rw-r--r--src/testing/testing_peergroup.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c
index db763d22a..dbc169090 100644
--- a/src/testing/testing_group.c
+++ b/src/testing/testing_group.c
@@ -30,9 +30,9 @@
30#include "gnunet_testing_lib.h" 30#include "gnunet_testing_lib.h"
31#include "gnunet_core_service.h" 31#include "gnunet_core_service.h"
32 32
33#define VERBOSE_TESTING GNUNET_EXTRA_LOGGING 33#define VERBOSE_TESTING 2
34 34
35#define VERBOSE_TOPOLOGY GNUNET_EXTRA_LOGGING 35#define VERBOSE_TOPOLOGY 2
36 36
37#define DEBUG_CHURN GNUNET_EXTRA_LOGGING 37#define DEBUG_CHURN GNUNET_EXTRA_LOGGING
38 38
diff --git a/src/testing/testing_peergroup.c b/src/testing/testing_peergroup.c
index f904269f9..837b50c08 100644
--- a/src/testing/testing_peergroup.c
+++ b/src/testing/testing_peergroup.c
@@ -566,7 +566,7 @@ internal_hostkey_callback (void *cls, const struct GNUNET_PeerIdentity *id,
566#if VERBOSE > 1 566#if VERBOSE > 1
567 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 567 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
568 "Hostkey (%d/%d) created for peer `%s'\n", 568 "Hostkey (%d/%d) created for peer `%s'\n",
569 pg_start_ctx->total - pg_start_ctx->peers_left, 569 pg_start_ctx->total - pg_start_ctx->peers_left + 1,
570 pg_start_ctx->total, GNUNET_i2s (id)); 570 pg_start_ctx->total, GNUNET_i2s (id));
571#endif 571#endif
572 572