aboutsummaryrefslogtreecommitdiffstats
path: root/util/logger.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-10 10:31:38 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-10 10:31:38 +0100
commit8ba629387afe19f3e8c8452b89a5bbf13f153c2f (patch)
treee8bb4713b579746474b2b41ca77a43d6a85a6151 /util/logger.lua
parent99e99bdbdae1e1588375ecbebdf81390a2fa75b2 (diff)
downloadprosody-8ba629387afe19f3e8c8452b89a5bbf13f153c2f.tar.gz
prosody-8ba629387afe19f3e8c8452b89a5bbf13f153c2f.zip
Merge
Diffstat (limited to 'util/logger.lua')
-rw-r--r--util/logger.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/logger.lua b/util/logger.lua
index fab9e4c3..42da9b57 100644
--- a/util/logger.lua
+++ b/util/logger.lua
@@ -49,6 +49,8 @@ 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, ...)