logs
authorChristian Grothoff <christian@grothoff.org>
Fri, 19 Feb 2010 10:47:44 +0000 (10:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 19 Feb 2010 10:47:44 +0000 (10:47 +0000)
src/fs/test_gnunet_service_fs_p2p.c

index 012af788feca927f03fdcbc979c507f4f0919713..e31e7a691f324ded9662d81d943193add32893fa 100644 (file)
@@ -52,6 +52,9 @@ do_stop (void *cls,
         const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   GNUNET_assert (0 != (tc->reason & GNUNET_SCHEDULER_REASON_PREREQ_DONE));
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "Finished download, shutting down\n",
+             (unsigned long long) FILESIZE);
   GNUNET_FS_TEST_daemons_stop (sched,
                               NUM_DAEMONS,
                               daemons);
@@ -63,6 +66,9 @@ do_download (void *cls,
             const struct GNUNET_FS_Uri *uri)
 {
   GNUNET_assert (NULL != uri);
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "Downloading %llu bytes\n",
+             (unsigned long long) FILESIZE);
   GNUNET_FS_TEST_download (sched,
                           daemons[1],
                           TIMEOUT,
@@ -77,6 +83,9 @@ do_publish (void *cls,
            const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   GNUNET_assert (0 != (tc->reason & GNUNET_SCHEDULER_REASON_PREREQ_DONE));
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "Publishing %llu bytes\n",
+             (unsigned long long) FILESIZE);
   GNUNET_FS_TEST_publish (sched,
                          daemons[1],
                          TIMEOUT,