prosody: Less verbose logging during shutdown sequence

Sat, 02 May 2009 20:36:20 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 02 May 2009 20:36:20 +0100
changeset 1093
5b7b2d2e9a33
parent 1092
b547967d87fc
child 1094
a619525fed5d

prosody: Less verbose logging during shutdown sequence

prosody file | annotate | diff | comparison | revisions
--- a/prosody	Sat May 02 20:32:43 2009 +0100
+++ b/prosody	Sat May 02 20:36:20 2009 +0100
@@ -204,8 +204,9 @@
 -- need to do some tidying before we go :)
 server.setquitting(false);
 
+log("info", "Shutdown status: Closing all active sessions");
 for hostname, host in pairs(hosts) do
-	log("info", "Shutdown status: Closing client connections for %s", hostname)
+	log("debug", "Shutdown status: Closing client connections for %s", hostname)
 	if host.sessions then
 		for username, user in pairs(host.sessions) do
 			for resource, session in pairs(user.sessions) do
@@ -215,7 +216,7 @@
 		end
 	end
 	
-	log("info", "Shutdown status: Closing outgoing s2s connections from %s", hostname);
+	log("debug", "Shutdown status: Closing outgoing s2s connections from %s", hostname);
 	if host.s2sout then
 		for remotehost, session in pairs(host.s2sout) do
 			if session.close then

mercurial