projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a7151
)
Little tweak for more useful logging of closed s2s sessions
author
Matthew Wild
<mwild1@gmail.com>
Sun, 26 Oct 2008 13:14:14 +0000
(13:14 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 26 Oct 2008 13:14:14 +0000
(13:14 +0000)
core/s2smanager.lua
patch
|
blob
|
history
diff --git
a/core/s2smanager.lua
b/core/s2smanager.lua
index eb90c1f32d87a50977bfc3cf01c651d4c206b2f5..0f27655f3b212bcbd0b10780cc69a9f82aed0e80 100644
(file)
--- 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