diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-25 20:50:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-25 20:50:20 +0000 |
commit | 54f8ff851bfb3511570cb8760b0ccf3165a58d2e (patch) | |
tree | 1d6651eea5d8393b5b2cdaa27bba4e0affe0511a /src | |
parent | 89ead6c361a291cc25045cb8c519394ddffb48fb (diff) | |
download | gnunet-54f8ff851bfb3511570cb8760b0ccf3165a58d2e.tar.gz gnunet-54f8ff851bfb3511570cb8760b0ccf3165a58d2e.zip |
-better logging
Diffstat (limited to 'src')
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index 790c05623..bf89c1bc2 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c | |||
@@ -401,9 +401,12 @@ quota_processor (void *cls, const GNUNET_HashCode * key, uint32_t size, | |||
401 | return GNUNET_SYSERR; | 401 | return GNUNET_SYSERR; |
402 | #if DEBUG_DATASTORE | 402 | #if DEBUG_DATASTORE |
403 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 403 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
404 | "Deleting %llu bytes of low-priority content `%s' of type %u (still trying to free another %llu bytes)\n", | 404 | "Deleting %llu bytes of low-priority (%u) content `%s' of type %u at %llu ms prior to expiration (still trying to free another %llu bytes)\n", |
405 | (unsigned long long) (size + GNUNET_DATASTORE_ENTRY_OVERHEAD), | 405 | (unsigned long long) (size + GNUNET_DATASTORE_ENTRY_OVERHEAD), |
406 | GNUNET_h2s (key), type, *need); | 406 | (unsigned int) priority, |
407 | GNUNET_h2s (key), type, | ||
408 | (unsigned long long) GNUNET_TIME_absolute_get_remaining (expiration).rel_value, | ||
409 | *need); | ||
407 | #endif | 410 | #endif |
408 | if (size + GNUNET_DATASTORE_ENTRY_OVERHEAD > *need) | 411 | if (size + GNUNET_DATASTORE_ENTRY_OVERHEAD > *need) |
409 | *need = 0; | 412 | *need = 0; |