summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-07 12:55:53 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-07 12:55:53 +0000
commit572bab1ace57fb9d7acbd218d6940cb1e9a0797b (patch)
tree3e256a2d3cace59559da0139247aee9733f93dd3 /src
parent9e6d56bcde7691248ecb68e781b1be94305223ae (diff)
-more meaningful log msg
Diffstat (limited to 'src')
-rw-r--r--src/transport/transport_api.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c
index f1aefc203..e3477f57c 100644
--- a/src/transport/transport_api.c
+++ b/src/transport/transport_api.c
@@ -1057,18 +1057,20 @@ transport_notify_ready (void *cls,
delay = GNUNET_TIME_absolute_get_duration (th->request_start);
if (delay.rel_value_us > 1000 * 1000)
LOG (GNUNET_ERROR_TYPE_WARNING,
- "Added %u bytes of payload message at %u after %s delay\n",
+ "Added %u bytes of payload message for %s after %s delay at %u b/s\n",
mret,
- ret,
+ GNUNET_i2s (&n->id),
GNUNET_STRINGS_relative_time_to_string (delay,
- GNUNET_YES));
+ GNUNET_YES),
+ (unsigned int) n->out_tracker.available_bytes_per_s__);
else
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Added %u bytes of payload message at %u after %s delay\n",
+ "Added %u bytes of payload message for %s after %s delay at %u b/s\n",
mret,
- ret,
+ GNUNET_i2s (&n->id),
GNUNET_STRINGS_relative_time_to_string (delay,
- GNUNET_YES));
+ GNUNET_YES),
+ (unsigned int) n->out_tracker.available_bytes_per_s__);
GNUNET_free (th);
break;
}