From e59fdc42ed4f003adf01759e6d9e030a41305467 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 24 Jul 2018 19:07:26 +0200 Subject: sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with that for incoming --- plugins/mod_s2s/mod_s2s.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index f182df52..0857f08e 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -541,7 +541,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 -- cgit v1.2.3