diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-22 19:41:29 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-22 19:41:29 +0200 |
commit | c866e400514617d4caca01d6ab86486509cd5eec (patch) | |
tree | c47214e4ef0c61f71d05ff94cefa7eb71bfdfb3b /core/sessionmanager.lua | |
parent | 759fe72f49e08114f36d880e60e64e77781e4c59 (diff) | |
download | prosody-c866e400514617d4caca01d6ab86486509cd5eec.tar.gz prosody-c866e400514617d4caca01d6ab86486509cd5eec.zip |
sessionmanager: Log top tag of outgoing stanzas on c2s (#776)
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r-- | core/sessionmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 6c9ecc24..ac387021 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -32,6 +32,7 @@ local function new_session(conn) 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 |