Changeset

169:92768120b717

Little tweak for more useful logging of closed s2s sessions
author Matthew Wild <mwild1@gmail.com>
date Sun, 26 Oct 2008 13:14:14 +0000
parents 168:744fafa8b700
children 178:8315cf03f304
files core/s2smanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/s2smanager.lua	Sat Oct 25 20:34:21 2008 +0100
+++ b/core/s2smanager.lua	Sun Oct 26 13:14:14 2008 +0000
@@ -175,7 +175,7 @@
 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