core/sessionmanager.lua
changeset 9069 af97ecd00734
parent 8187 dbcae15b4282
child 9072 22e5f11c778a
--- a/core/sessionmanager.lua	Sun Jul 08 16:48:59 2018 +0200
+++ b/core/sessionmanager.lua	Sun Jul 22 19:41:29 2018 +0200
@@ -32,6 +32,7 @@
 	local filter = initialize_filters(session);
 	local w = conn.write;
 	session.send = function (t)
+		session.log("debug", "sending: %s", t.top_tag and t:top_tag() or t:match("^[^>]*>?"));
 		if t.name then
 			t = filter("stanzas/out", t);
 		end