aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-02-22 18:27:31 +0000
committerMatthew Wild <mwild1@gmail.com>2011-02-22 18:27:31 +0000
commite5dfde383ea5d729994b38ac221de66db3a93eb8 (patch)
tree7b2a301f48434502f9734d64633b598e5ec8c40f /core
parent65c179b10dd6fb410a4aa4747993e4ff68eca3f8 (diff)
downloadprosody-e5dfde383ea5d729994b38ac221de66db3a93eb8.tar.gz
prosody-e5dfde383ea5d729994b38ac221de66db3a93eb8.zip
s2smanager: Drop some log messages to debug level from info/warn
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 04ea459d..fd9a72d0 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -166,7 +166,7 @@ function new_incoming(conn)
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);
@@ -588,7 +588,7 @@ end
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;