Fri, 10 Apr 2009 10:38:04 +0100
Remove more debugging code which was accidentally committed (don't trust hg)
core/s2smanager.lua | file | annotate | diff | comparison | revisions | |
util/logger.lua | file | annotate | diff | comparison | revisions |
--- 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, ...)