Software /
code /
prosody
Changeset
4187:1cad1c3495dd
s2smanager: Drop some log messages to debug level from info/warn
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 22 Feb 2011 18:27:31 +0000 |
parents | 4186:6ef3bf4a548e |
children | 4188:a395540f25e3 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Tue Feb 22 18:02:23 2011 +0000 +++ b/core/s2smanager.lua Tue Feb 22 18:27:31 2011 +0000 @@ -166,7 +166,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); @@ -588,7 +588,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;