[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 06/06: add logging to cadet initiatlizations
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 06/06: add logging to cadet initiatlizations |
Date: |
Wed, 27 Dec 2017 14:27:02 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 4c462cd59d3b82e7e10711762f1b95a905609118
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Dec 27 14:26:44 2017 +0100
add logging to cadet initiatlizations
---
src/cadet/cadet_api.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c
index 00a482452..4d923080a 100644
--- a/src/cadet/cadet_api.c
+++ b/src/cadet/cadet_api.c
@@ -1600,7 +1600,10 @@ GNUNET_CADET_open_port (struct GNUNET_CADET_Handle *h,
GNUNET_assert (NULL != connects);
GNUNET_assert (NULL != disconnects);
-
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Listening to CADET port %s\n",
+ GNUNET_h2s (port));
+
p = GNUNET_new (struct GNUNET_CADET_Port);
p->cadet = h;
p->id = *port;
@@ -1663,6 +1666,10 @@ GNUNET_CADET_channel_create (struct GNUNET_CADET_Handle
*h,
struct GNUNET_MQ_Envelope *env;
GNUNET_assert (NULL != disconnects);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Creating channel to peer %s at port %s\n",
+ GNUNET_i2s (destination),
+ GNUNET_h2s (port));
ch = create_channel (h,
NULL);
ch->ctx = channel_cls;
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated (4b7c77def -> 4c462cd59), gnunet, 2017/12/27
- [GNUnet-SVN] [gnunet] 02/06: more logging for transport, gnunet, 2017/12/27
- [GNUnet-SVN] [gnunet] 06/06: add logging to cadet initiatlizations,
gnunet <=
- [GNUnet-SVN] [gnunet] 05/06: some niceities for rps test configuration, gnunet, 2017/12/27
- [GNUnet-SVN] [gnunet] 03/06: more logging for hello, gnunet, 2017/12/27
- [GNUnet-SVN] [gnunet] 04/06: indentation fix, gnunet, 2017/12/27
- [GNUnet-SVN] [gnunet] 01/06: unset environment variables that will break testbed, indentation and comment typo fixes, gnunet, 2017/12/27