# HG changeset patch # User Thilo Cestonaro # Date 1255900636 -7200 # Node ID 6a40e44a2b8a160ac1713eccd5eafaf7e2fa2b1a # Parent a96d3f37d8452877002b9768998c7ad55e0bc5ec mod_muclogging: removed devel debug message stuff diff -r a96d3f37d845 -r 6a40e44a2b8a mod_muclogging/mod_muclogging.lua --- a/mod_muclogging/mod_muclogging.lua Sun Oct 18 22:39:36 2009 +0200 +++ b/mod_muclogging/mod_muclogging.lua Sun Oct 18 23:17:16 2009 +0200 @@ -8,7 +8,7 @@ local bareJid = require "util.jid".bare; local config_get = require "core.configmanager".get; local httpserver = require "net.httpserver"; -local dump = require "util.logger".dump; +-- local dump = require "util.logger".dump; local config = {}; --[[ LuaFileSystem @@ -209,7 +209,7 @@ local parsed = lom.parse("" .. content .. ""); if parsed ~= nil then for _,stanza in ipairs(parsed) do - module:log("debug", "dump of stanza: \n%s", dump(stanza)) + -- module:log("debug", "dump of stanza: \n%s", dump(stanza)) if stanza.attr ~= nil and stanza.attr.time ~= nil then ret = ret .. "[" .. stanza.attr.time .. "] "; if stanza[1] ~= nil then @@ -304,7 +304,7 @@ function module.load() config = config_get("*", "core", "muclogging"); - module:log("debug", "muclogging config: \n%s", dump(config)); + -- module:log("debug", "muclogging config: \n%s", dump(config)); if config.http_port ~= nil then httpserver.new_from_config({ config.http_port }, "muclogging", handle_request);