diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-24 19:07:26 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-24 19:07:26 +0200 |
commit | 9ae687ec98773a86775a7ffe04abb1f3ab99cb77 (patch) | |
tree | 2c1c2f4eaee6f4cc867fd0eea12d5603d7adc3a9 /core | |
parent | 55f18c627d583bf0736eb8311bb2562a6b0f2462 (diff) | |
download | prosody-9ae687ec98773a86775a7ffe04abb1f3ab99cb77.tar.gz prosody-9ae687ec98773a86775a7ffe04abb1f3ab99cb77.zip |
sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with that for incoming
Diffstat (limited to 'core')
-rw-r--r-- | core/sessionmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index ac387021..bdaafcb6 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -32,7 +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("^[^>]*>?")); + session.log("debug", "Sending[%s]: %s", session.type, t.top_tag and t:top_tag() or t:match("^[^>]*>?")); if t.name then t = filter("stanzas/out", t); end |