commit 8af83dc4c3bdef6f09ec9ae0c9b2949f48ebdf80
parent 925f1f9fc44688bad1002170d5033d82cf456d44
Author: Florian Dold <florian.dold@gmail.com>
Date: Tue, 30 Jan 2018 02:30:08 +0100
log unsent queued messages only on DEBUG
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/mq.c b/src/util/mq.c
@@ -851,7 +851,7 @@ GNUNET_MQ_destroy (struct GNUNET_MQ_Handle *mq)
ev);
GNUNET_assert (0 < mq->queue_length);
mq->queue_length--;
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"MQ destroy drops message of type %u\n",
ntohs (ev->mh->type));
GNUNET_MQ_discard (ev);
@@ -861,7 +861,7 @@ GNUNET_MQ_destroy (struct GNUNET_MQ_Handle *mq)
/* we can only discard envelopes that
* are not queued! */
mq->current_envelope->parent_queue = NULL;
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"MQ destroy drops current message of type %u\n",
ntohs (mq->current_envelope->mh->type));
GNUNET_MQ_discard (mq->current_envelope);