Remove more debugging code which was accidentally committed (don't trust hg)
authorMatthew Wild <mwild1@gmail.com>
Fri, 10 Apr 2009 09:38:04 +0000 (10:38 +0100)
committerMatthew Wild <mwild1@gmail.com>
Fri, 10 Apr 2009 09:38:04 +0000 (10:38 +0100)
core/s2smanager.lua
util/logger.lua

index 8fc03ba3db923c264d454ba3fc0ad0dd85561c2b..5f04fed6afe34179d804ec36f0a753db2b7d0d01 100644 (file)
@@ -332,8 +332,6 @@ end
 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);
index 42da9b578dfc96e434c58568fd1b1f177b5e3845..fab9e4c39652e28ce0bd62e8fab2aa486c34feeb 100644 (file)
@@ -49,8 +49,6 @@ function init(name)
                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, ...)