diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-10 10:38:04 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-10 10:38:04 +0100 |
commit | e99f46bcdad7defcebf98bbca3363bf05552aba9 (patch) | |
tree | f51b7f68d10343a26c05283dfb1172659e2903c8 | |
parent | d95e52160f1ed807c111bb3229e5fcaf23357568 (diff) | |
download | prosody-e99f46bcdad7defcebf98bbca3363bf05552aba9.tar.gz prosody-e99f46bcdad7defcebf98bbca3363bf05552aba9.zip |
Remove more debugging code which was accidentally committed (don't trust hg)
-rw-r--r-- | core/s2smanager.lua | 2 | ||||
-rw-r--r-- | util/logger.lua | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 8fc03ba3..5f04fed6 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -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); diff --git a/util/logger.lua b/util/logger.lua index 42da9b57..fab9e4c3 100644 --- a/util/logger.lua +++ b/util/logger.lua @@ -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, ...) |