# HG changeset patch # User Matthew Wild # Date 1225029820 0 # Node ID 774a172b03c8f60abcfada77d4602af168c14f99 # Parent 8315cf03f304898a8bff28f66863eaf7c68ebbdd Better logging of s2s connections diff -r 8315cf03f304 -r 774a172b03c8 core/s2smanager.lua --- a/core/s2smanager.lua Sun Oct 26 13:19:09 2008 +0000 +++ b/core/s2smanager.lua Sun Oct 26 14:03:40 2008 +0000 @@ -164,8 +164,9 @@ 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;