Diff

net/xmppserver_listener.lua @ 1902:a7b06e2539c8

xmppserver_listener: Lower log-level of debug message to, er, 'debug'
author Matthew Wild <mwild1@gmail.com>
date Mon, 05 Oct 2009 10:07:06 +0100
parent 1880:d5dc9e06d917
child 1953:64538c620450
line wrap: on
line diff
--- a/net/xmppserver_listener.lua	Mon Oct 05 09:56:08 2009 +0100
+++ b/net/xmppserver_listener.lua	Mon Oct 05 10:07:06 2009 +0100
@@ -139,7 +139,7 @@
 		local session = sessions[conn];
 		if session and session.direction == "outgoing" then
 			local format, to_host, from_host = string.format, session.to_host, session.from_host;
-			session.log("warn", "Sending stream header...");
+			session.log("debug", "Sending stream header...");
 			session.sends2s(format([[<stream:stream xmlns='jabber:server' xmlns:db='jabber:server:dialback' xmlns:stream='http://etherx.jabber.org/streams' from='%s' to='%s' version='1.0'>]], from_host, to_host));
 		end
 	end