aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-09 18:23:14 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-09 18:23:14 +0200
commitff7753975e287cb60df51b6ce6a51241c8f4ed59 (patch)
tree2813d18d4702fc9255756b62e802ffc2718b1a41
parent1da1632c4a7d61fc7d40bb38ce4a1d821737d578 (diff)
downloadgnunet-ff7753975e287cb60df51b6ce6a51241c8f4ed59.tar.gz
gnunet-ff7753975e287cb60df51b6ce6a51241c8f4ed59.zip
-more logging
-rwxr-xr-xsrc/dht/dhtu_testbed_deploy.sh2
-rw-r--r--src/hello/hello-uri.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/dht/dhtu_testbed_deploy.sh b/src/dht/dhtu_testbed_deploy.sh
index 908bbf685..5a7fdde15 100755
--- a/src/dht/dhtu_testbed_deploy.sh
+++ b/src/dht/dhtu_testbed_deploy.sh
@@ -43,7 +43,7 @@ fi
43 43
44MAX=`expr $1 - 1` 44MAX=`expr $1 - 1`
45 45
46# export GNUNET_FORCE_LOG="dht*;;;;DEBUG" 46export GNUNET_FORCE_LOG="dht*;;;;DEBUG"
47 47
48echo -n "Starting $1 peers " 48echo -n "Starting $1 peers "
49mkdir -p /tmp/deployment 49mkdir -p /tmp/deployment
diff --git a/src/hello/hello-uri.c b/src/hello/hello-uri.c
index 3154229bc..c8e9b9f06 100644
--- a/src/hello/hello-uri.c
+++ b/src/hello/hello-uri.c
@@ -222,6 +222,10 @@ hash_addresses (const struct GNUNET_HELLO_Builder *builder,
222 NULL != a; 222 NULL != a;
223 a = a->next) 223 a = a->next)
224 { 224 {
225 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
226 "Hashing over %.*s\n",
227 (int) a->uri_len,
228 a->uri);
225 GNUNET_CRYPTO_hash_context_read (hc, 229 GNUNET_CRYPTO_hash_context_read (hc,
226 a->uri, 230 a->uri,
227 a->uri_len); 231 a->uri_len);