aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-26 14:03:40 +0000
committerMatthew Wild <mwild1@gmail.com>2008-10-26 14:03:40 +0000
commit6db0c3f0824e87a0ba4ee47479bdae8aae8f90a3 (patch)
tree64cb47d02031144d47a9dbde31469bf01b009864 /core
parent4d5a2486b5e283a4d464fd19b74c2500903a009c (diff)
downloadprosody-6db0c3f0824e87a0ba4ee47479bdae8aae8f90a3.tar.gz
prosody-6db0c3f0824e87a0ba4ee47479bdae8aae8f90a3.zip
Better logging of s2s connections
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 0f27655f..76381e2d 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -164,8 +164,9 @@ end
function mark_connected(session)
local sendq, send = session.sendq, session.send;
+ session.log("debug", session.direction.." s2s connection "..session.from_host.."->"..session.to_host.." is now complete");
if sendq then
- session.log("debug", "sending queued stanzas across new connection");
+ session.log("debug", "sending queued stanzas across new outgoing connection");
for i, data in ipairs(sendq) do
send(data);
sendq[i] = nil;