diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-02-22 18:27:31 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-02-22 18:27:31 +0000 |
commit | ff0bd69ec24221655864d8b9c7a063fc654e77c3 (patch) | |
tree | 55dd1d25b14918ff50d93b84f557ee439e185342 /core/s2smanager.lua | |
parent | 0ac92a70286300d39f01c7ae247f89dbcbdacb56 (diff) | |
download | prosody-ff0bd69ec24221655864d8b9c7a063fc654e77c3.tar.gz prosody-ff0bd69ec24221655864d8b9c7a063fc654e77c3.zip |
s2smanager: Drop some log messages to debug level from info/warn
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 0fb055cb..a2379f22 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -167,7 +167,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); @@ -625,7 +625,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; |