gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r25295 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r25295 - gnunet/src/mesh
Date: Thu, 6 Dec 2012 14:33:27 +0100

Author: bartpolot
Date: 2012-12-06 14:33:27 +0100 (Thu, 06 Dec 2012)
New Revision: 25295

Modified:
   gnunet/src/mesh/gnunet-service-mesh.c
Log:
- debug info for stream / hostkey bugs

Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c       2012-12-06 13:28:50 UTC (rev 
25294)
+++ gnunet/src/mesh/gnunet-service-mesh.c       2012-12-06 13:33:27 UTC (rev 
25295)
@@ -5949,9 +5949,9 @@
     /* TODO notify that we dont know this tunnel (whom)? */
     GNUNET_STATISTICS_update (stats, "# data on unknown tunnel", 1, GNUNET_NO);
     GNUNET_break_op (0);
-    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                "Received to_origin with PID %u on unknown tunnel\n",
-                pid);
+    GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+                "Received to_origin with PID %u on unknown tunnel %s [%u]\n",
+                pid, GNUNET_i2s (&msg->oid), ntohl (msg->tid));
     return GNUNET_OK;
   }
 
@@ -8403,6 +8403,12 @@
       NULL == server)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Wrong CORE service\n"));
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                " core id %s\n",
+                GNUNET_i2s (identity));
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                " my id %s\n",
+                GNUNET_i2s (&my_full_id));
     GNUNET_SCHEDULER_shutdown (); // Try gracefully
     if (10 < i++)
       GNUNET_abort(); // Try harder
@@ -8612,7 +8618,8 @@
   if (NULL == pk)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                _("Mesh service could not access hostkey.  Exiting.\n"));
+                _("Mesh service could not access hostkey: %s. Exiting.\n"),
+                emsg);
     GNUNET_SCHEDULER_shutdown ();
     return;
   }




reply via email to

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