Software /
code /
prosody
Diff
util/logger.lua @ 974:82f7261c0482
Merge
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 10 Apr 2009 10:31:38 +0100 |
parent | 896:2c0b9e3c11c3 |
child | 977:6f0bdf9e4dfb |
line wrap: on
line diff
--- a/util/logger.lua Fri Apr 10 10:30:50 2009 +0100 +++ b/util/logger.lua Fri Apr 10 10:31:38 2009 +0100 @@ -49,6 +49,8 @@ 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, ...)