diff --git a/src/conn.c b/src/conn.c index 5221f3a..f1bbd87 100644 --- a/src/conn.c +++ b/src/conn.c @@ -1477,7 +1477,7 @@ static int _send_raw(xmpp_conn_t *conn, char *data, size_t len) conn->send_queue_tail = item; } conn->send_queue_len++; - xmpp_debug(conn->ctx, "conn", "SENT: %s", data); + xmpp_debug_verbose(2, conn->ctx, "conn", "QUEUED: %s", data); xmpp_debug_verbose(1, conn->ctx, "conn", "Added queue element: %p", item); return XMPP_EOK; } diff --git a/src/event.c b/src/event.c index c3b7d21..3488662 100644 --- a/src/event.c +++ b/src/event.c @@ -134,6 +134,7 @@ void xmpp_run_once(xmpp_ctx_t *ctx, unsigned long timeout) break; /* partial write or an error */ /* all data for this queue item written, delete and move on */ + xmpp_debug(conn->ctx, "conn", "SENT: %s", sq->data); xmpp_debug_verbose(1, ctx, "xmpp", "Finished writing queue element: %p.", sq); xmpp_free(ctx, sq->data);