gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18816 - gnunet/src/datastore


From: gnunet
Subject: [GNUnet-SVN] r18816 - gnunet/src/datastore
Date: Sun, 25 Dec 2011 21:50:20 +0100

Author: grothoff
Date: 2011-12-25 21:50:20 +0100 (Sun, 25 Dec 2011)
New Revision: 18816

Modified:
   gnunet/src/datastore/gnunet-service-datastore.c
Log:
-better logging

Modified: gnunet/src/datastore/gnunet-service-datastore.c
===================================================================
--- gnunet/src/datastore/gnunet-service-datastore.c     2011-12-25 20:45:28 UTC 
(rev 18815)
+++ gnunet/src/datastore/gnunet-service-datastore.c     2011-12-25 20:50:20 UTC 
(rev 18816)
@@ -401,9 +401,12 @@
     return GNUNET_SYSERR;
 #if DEBUG_DATASTORE
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-              "Deleting %llu bytes of low-priority content `%s' of type %u 
(still trying to free another %llu bytes)\n",
+              "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",
               (unsigned long long) (size + GNUNET_DATASTORE_ENTRY_OVERHEAD),
-              GNUNET_h2s (key), type, *need);
+             (unsigned int) priority,
+              GNUNET_h2s (key), type, 
+             (unsigned long long) GNUNET_TIME_absolute_get_remaining 
(expiration).rel_value,
+             *need);
 #endif
   if (size + GNUNET_DATASTORE_ENTRY_OVERHEAD > *need)
     *need = 0;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]