summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_blacklisting.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-28 13:26:19 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-28 13:26:19 +0000
commit80a7c5fe311c13c34411440a98d6d0398c7d3fe6 (patch)
tree2673db997a6a88e6f392afd06f0c8efbffb42087 /src/transport/test_transport_blacklisting.c
parent566fc18ca04fabe5bba4c697666bafa61b7fc000 (diff)
docu
Diffstat (limited to 'src/transport/test_transport_blacklisting.c')
-rw-r--r--src/transport/test_transport_blacklisting.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/test_transport_blacklisting.c b/src/transport/test_transport_blacklisting.c
index b75da26d1..f0f5a2b63 100644
--- a/src/transport/test_transport_blacklisting.c
+++ b/src/transport/test_transport_blacklisting.c
@@ -158,7 +158,7 @@ testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls)
static void
connect_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Peers not connected, next stage\n");
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Peers not connected, next stage\n");
timeout_task = GNUNET_SCHEDULER_NO_TASK;
stage_task = GNUNET_SCHEDULER_add_now (&run_stage, NULL);
}
@@ -178,7 +178,7 @@ start_cb (struct PeerContext *p, void *cls)
char *sender_c = GNUNET_strdup (GNUNET_i2s (&p1->id));
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Test tries to connect peer %u (`%s') -> peer %u (`%s')\n",
p1->no, sender_c, p2->no, GNUNET_i2s (&p2->id));
GNUNET_free (sender_c);
@@ -195,7 +195,7 @@ run_stage (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
if (GNUNET_SCHEDULER_NO_TASK != die_task)
GNUNET_SCHEDULER_cancel (die_task);
die_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL);
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Running stage %u\n", stage);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Running stage %u\n", stage);
if (0 == stage)
{
@@ -282,7 +282,7 @@ run_stage (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
p2 = NULL;
}
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Done in stage %u: Peers %s and %s!\n", stage,
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Done in stage %u: Peers %s and %s!\n", stage,
(GNUNET_NO == started) ? "NOT STARTED" : "STARTED",
(GNUNET_YES == connected) ? "CONNECTED" : "NOT CONNECTED");
@@ -315,7 +315,7 @@ run (void *cls, char *const *args, const char *cfgfile,
{
connected = GNUNET_NO;
stage = 0;
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Running test `%s'!\n", test_name);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Running test `%s'!\n", test_name);
stage_task = GNUNET_SCHEDULER_add_now (&run_stage, NULL);
}