# HG changeset patch # User Kim Alvefur # Date 1532281289 -7200 # Node ID 1b272b51ae0fd4204d76d46de56ad218570dbd5a # Parent 82dd435c942c5729fec21aaf95b54e4d1eb515be sessionmanager: Log top tag of outgoing stanzas on c2s (#776) diff -r 82dd435c942c -r 1b272b51ae0f core/sessionmanager.lua --- a/core/sessionmanager.lua Sun Jul 29 18:34:38 2018 +0200 +++ b/core/sessionmanager.lua Sun Jul 22 19:41:29 2018 +0200 @@ -33,6 +33,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