diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-30 20:57:42 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-30 20:57:42 +0200 |
commit | 87f924153ec9a8a14be030d634c57438db550cbf (patch) | |
tree | 9748e43809d0a4edcf3454984bb6fa3b165e7311 /src/namestore | |
parent | a787cd8550ccda5a1fd8bc7a59914600bb849644 (diff) | |
download | gnunet-87f924153ec9a8a14be030d634c57438db550cbf.tar.gz gnunet-87f924153ec9a8a14be030d634c57438db550cbf.zip |
more logging
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index e810e2170..e3936a7cc 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c | |||
@@ -1470,10 +1470,15 @@ run_zone_iteration_round (struct ZoneIteration *zi, | |||
1470 | if (0 == proc.limit) | 1470 | if (0 == proc.limit) |
1471 | { | 1471 | { |
1472 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1472 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1473 | "More results available\n"); | 1473 | "Returned %llu results, more results available\n", |
1474 | (unsigned long long) limit); | ||
1474 | return; /* more results later after we get the | 1475 | return; /* more results later after we get the |
1475 | #GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_NEXT message */ | 1476 | #GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_NEXT message */ |
1476 | } | 1477 | } |
1478 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
1479 | "Completed iteration after %llu/%llu results\n", | ||
1480 | (unsigned long long) (limit - proc.limit), | ||
1481 | (unsigned long long) limit); | ||
1477 | /* send empty response to indicate end of list */ | 1482 | /* send empty response to indicate end of list */ |
1478 | env = GNUNET_MQ_msg (rrm, | 1483 | env = GNUNET_MQ_msg (rrm, |
1479 | GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_RESULT); | 1484 | GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_RESULT); |