aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-02 20:36:20 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-02 20:36:20 +0100
commitd3d75a69835b26e31f3e20eb94159b491d02358c (patch)
tree3770511760a892b9ca49fd69095fdd732946703b
parenta073502b279b5127895f4953702bed54bcc7dbfb (diff)
downloadprosody-d3d75a69835b26e31f3e20eb94159b491d02358c.tar.gz
prosody-d3d75a69835b26e31f3e20eb94159b491d02358c.zip
prosody: Less verbose logging during shutdown sequence
-rwxr-xr-xprosody5
1 files changed, 3 insertions, 2 deletions
diff --git a/prosody b/prosody
index b0bc579b..8e85847f 100755
--- a/prosody
+++ b/prosody
@@ -204,8 +204,9 @@ eventmanager.fire_event("server-cleanup");
-- 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 @@ for hostname, host in pairs(hosts) do
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