aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-24 19:07:26 +0200
committerKim Alvefur <zash@zash.se>2018-07-24 19:07:26 +0200
commit32d6e4e07c88ab677b4cb92ad038a99b85f7a68b (patch)
treeddd9cbc07aa5518f7bd7d53e5b66e4c362c7ebde /plugins/mod_s2s/mod_s2s.lua
parent87a7a0e66fd522344905b8b09c8e067bcc901b6a (diff)
downloadprosody-32d6e4e07c88ab677b4cb92ad038a99b85f7a68b.tar.gz
prosody-32d6e4e07c88ab677b4cb92ad038a99b85f7a68b.zip
sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with that for incoming
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index ddc49134..70b8d329 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -571,7 +571,7 @@ local function initialize_session(session)
local w = conn.write;
function session.sends2s(t)
- log("debug", "sending: %s", t.top_tag and t:top_tag() or t:match("^[^>]*>?"));
+ 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