aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/s2smanager.lua2
-rw-r--r--util/logger.lua2
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, ...)