aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.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
commit15de51f8c507f8d0f2c18d22a601aec60cf461b8 (patch)
treeddd9cbc07aa5518f7bd7d53e5b66e4c362c7ebde /core/sessionmanager.lua
parentf86af442083973907f7cfeadd186a3d77432fa7c (diff)
downloadprosody-15de51f8c507f8d0f2c18d22a601aec60cf461b8.tar.gz
prosody-15de51f8c507f8d0f2c18d22a601aec60cf461b8.zip
sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with that for incoming
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 429ec776..2843001a 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -33,7 +33,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