Software / code / prosody
Changeset
977:6f0bdf9e4dfb
Remove more debugging code which was accidentally committed (don't trust hg)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 10 Apr 2009 10:38:04 +0100 |
| parents | 976:17af9851c81d |
| children | 978:a9898f54b402 |
| files | core/s2smanager.lua util/logger.lua |
| diffstat | 2 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Fri Apr 10 10:36:01 2009 +0100 +++ b/core/s2smanager.lua Fri Apr 10 10:38:04 2009 +0100 @@ -332,8 +332,6 @@ function destroy_session(session) (session.log or log)("info", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host)); - log("debug", debug.traceback()); - if session.direction == "outgoing" then hosts[session.from_host].s2sout[session.to_host] = nil; bounce_sendq(session);
--- a/util/logger.lua Fri Apr 10 10:36:01 2009 +0100 +++ b/util/logger.lua Fri Apr 10 10:38:04 2009 +0100 @@ -49,8 +49,6 @@ if not log_this then return function () end end end - if name == "modulemanager" or name:match("^c2s") or name == "datamanager" then return function () end; end - --name = nil; -- While this line is not commented, will automatically fill in file/line number info local namelen = #name; return function (level, message, ...)