# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1298399251 0
# Node ID e3282871dd447dcd9d44166115bf1768ed9addfb
# Parent  3c5d6a7f07e151efffd117f2551171f8df23637d
s2smanager: Drop some log messages to debug level from info/warn

diff -r 3c5d6a7f07e1 -r e3282871dd44 core/s2smanager.lua
--- a/core/s2smanager.lua	Tue Feb 22 18:02:23 2011 +0000
+++ b/core/s2smanager.lua	Tue Feb 22 18:27:31 2011 +0000
@@ -167,7 +167,7 @@
 			return; -- Ok, we're connect[ed|ing]
 		end
 		-- Not connected, need to close session and clean up
-		(session.log or log)("warn", "Destroying incomplete session %s->%s due to inactivity",
+		(session.log or log)("debug", "Destroying incomplete session %s->%s due to inactivity",
 		    session.from_host or "(unknown)", session.to_host or "(unknown)");
 		session:close("connection-timeout");
 	end);
@@ -625,7 +625,7 @@
 
 function destroy_session(session, reason)
 	if session.destroyed then return; end
-	(session.log or log)("info", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host));
+	(session.log or log)("debug", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host));
 	
 	if session.direction == "outgoing" then
 		hosts[session.from_host].s2sout[session.to_host] = nil;