diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-10-26 13:14:14 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-10-26 13:14:14 +0000 |
commit | 08940b23081e7328f25099816f54e8bcd9d280ae (patch) | |
tree | 592a764c38a63235c5f93eb53d65a96b4db6f93d /core | |
parent | 77dcd4c0c5a727fa4f709375a806ba11cf0c919f (diff) | |
download | prosody-08940b23081e7328f25099816f54e8bcd9d280ae.tar.gz prosody-08940b23081e7328f25099816f54e8bcd9d280ae.zip |
Little tweak for more useful logging of closed s2s sessions
Diffstat (limited to 'core')
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index eb90c1f3..0f27655f 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -175,7 +175,7 @@ function mark_connected(session) end function destroy_session(session) - (session.log or log)("info", "Destroying session"); + (session.log or log)("info", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host)); if session.direction == "outgoing" then hosts[session.to_host] = nil; end |